Pregunta sobre WooCommerce Stripe Payment Gateway de Wordpress:

Aplicar estilo al botón de solicitud de pago

Un usuario preguntó 👇

Por lo tanto, el botón de solicitud de pago funciona perfectamente y cambia entre Google Pay y Apple Pay según el navegador / dispositivo.

Para los dispositivos Apple, el botón usa el logotipo de Apple Pay, que es lo suficientemente claro y obvio: si las personas no tienen Apple Pay, lo ignoran y usan el botón estándar de WooComm «Continuar comprobando».

Pero para los dispositivos Google / Android / Chrome, el botón morado con una pequeña flecha animada y solo una palabra «Comprar» – esto es extremadamente confuso para los clientes, ya que la mayoría obviamente hará clic. La mayoría ve este gran botón animado de Comprar sin darse cuenta que es un botón separado pero para Google Pay. Y si no han implementado un método de pago con un médico de cabecera o no quieren usarlo, no tienen idea de lo que está pasando. Y a menudo ni siquiera ve el botón estándar «Continuar comprobando» debido a su confusión.

Entonces, a pesar del bonito estilo animado púrpura, este botón obviamente debe cambiarse para GP como el botón AP, que deja completamente claro a los visitantes que este es un botón especial solo para GP.

Si esto no es posible, debe haber una forma de editar el texto «Comprar» en la configuración del plugin para convertirlo en cierto texto personalizado, como «Comprar ahora con Google Pay» o lo que sea.

Sorprendentemente, nadie más comentó sobre esto, pero creo que el botón Solicitar pago está desactivado (como lo hice hasta que se solucione) en la mayoría de los sitios que usan este plugin.

(@royho)

Hace 1 año, 11 meses

Este plugin utiliza lo que ofrece Stripe, consulte aquí https://stripe.com/docs/stripe-js/elements/payment-request-button#styling-the-element

De lo contrario, sería una solución completamente personalizada que no admitimos.

(@ nixiack8)

Hace 1 año, 10 meses

Hola @ akc123,

Seguiré adelante y cerraré este hilo, si tiene más preguntas, abra un nuevo hilo y háganoslo saber.

(@afnangulabbasi)

Hace 1 año, 9 meses

Oye, no sé si recibiste ayuda con esto o no, pero acabo de escribir una publicación de blog completa explicando cómo hacer esto porque también necesitaba ayuda con esto.

Compruébalo aquí: https://justentrepreneurship.com/stripe-payment-request-button-style

Esta respuesta fue modificada hace 1 año, 9 meses.

(@jwpapi)

Hace 1 año, 7 meses

@afnangulabbasi ¿Ha encontrado una manera de mantener esto actualizado?

(@afnangulabbasi)

Hace 1 año, 7 meses

@jwpapi Le pregunté al desarrollador del plugin sobre esto.

Puede leer eso aquí: https://wordpress.org/support/topic/how-to-override-the-plugin-files/

Hay varias formas que incluyen no poner en cola y volver a poner en cola, haciendo un duplicado. No hay ganchos en esa parte del enchufe, por lo que no podemos modificarlo usando los ganchos.

Pero tomé el enfoque de replicar el plugin. Puede cambiar el nombre + la versión del plugin en el archivo principal del plugin y mantenerlo como si fuera su propio plugin personalizado. A menudo, cuando actualiza sus plugins en aproximadamente un mes, ve si el plugin se actualiza y luego actualiza manualmente todos los archivos.

Suena tedioso, pero esa es la única solución en este momento. Podría trabajar en lo de no poner en cola y volver a poner en cola, ya que era la mejor solución aquí, pero estoy un poco ocupado en este momento con algunos trabajos de clientes en los que no puedo concentrarme en esto.

(@jwpapi)

Hace 1 año, 7 meses

¡Muchas gracias! Eso ya me ayuda mucho.

Por cierto, podría buscar una forma de mostrarlo solo en Chrome + Android. Ya que en Chrome también puedes usar Google Pay. Actualizaré aquí si lo hice primero revisando su documentación.

(@afnangulabbasi)

Hace 1 año, 7 meses

¡De nada!

Solo se puede mostrar en Chrome y Android, creo que contiene un fragmento de código JS que nos ayuda a detectar navegadores, por lo que tal vez podamos usarlo. Pero requerirá más personalización y tiempo.

Mi personalización del sitio, lo publiqué hace dos meses, así que tiene que funcionar. Sigue más o menos lo mismo que dice Stripe en su documentación, pero un poco diferente. Además, lo explican complicado, yo lo expliqué a modo de WordPress.

¿Solucionó tu problema??

0 / 0

Deja una respuesta 73

Tu dirección de correo electrónico no será publicada.


Ashtring

bahis siteleri

bahis siteleri

perfect

thank you for a very good article

mega game 999

mega game 999

best game mega game 999 ศูนย์รวมคาสิโนอันดับ 1

mega gameล่าสุด

mega gameล่าสุด

mega gameล่าสุด Deposit withdraw mega game mega login slot automatic deposit withdrawal system easy transaction in a way that you can choose You can make a minimum deposit or withdraw all funds throughout the day. The safest and most instant

สมัครslotpg

สมัครslotpg

Really very well-Developed shorter short article. It will eventually possible be supportive to anybody who can make utilization of it, together with me. Hold carrying out what you are executing – are not able to pause to look at much more posts. Thanks to the vital enable. สมัครslotpg

ทางเข้าสล็อต

ทางเข้าสล็อต

You’ve an comprehension of your jobs stick out with the gang. There is a single spot unique about them. It seems to me all of them are exceptional. หวยออนไลน์

สมัครslotpg

สมัครslotpg

I have review your publish-up couple of circumstances mainly because of the truth your views are by myself Normally. It is superb information and facts For each and every reader. สมัครslotpg

ทางเข้าสล็อต

ทางเข้าสล็อต

Successfully well prepared details. It should be monetarily fulfilling to any individual who makes use of it, counting me. Sustain The great do The work. For sure I’ll Consider out far more posts working day in and time out. สล็อตวอเลท

gclub

gclub

gclubจีคลับ888 รวมเกมสล็อตบาคาร่า เกมสล็อต บาคาร่า ออนไลน์ใหม่ปี2022 รวมเกมสล็อต บาคาร่า ที่ดีที่สุดคนเล่นเยอะ มาไว้ใน ค่ายเกม gclub จากสถิติผู้เล่น สล็อต บาคาร่า ออนไลน์ทุกค่ายเกม จีคลับ เราได้รับความเป็นอย่างมาก มาพร้อมระบบ 1user เล่นได้ทุกเกม ถูกออกแบบให้มีความทันสมัยและรวดเร็ว สล็อตทุกค่ายในเว็บเดียว ฝาก-ถอน ไม่มีขั้นต่ำ เล่นได้ จ่ายจริง ถอนได้ไม่อั้น รองรับการเติมเงินผ่าน ทรูวอลเล็ทและช่องทางอื่นๆโดยเว็บไซต์ของเราที่นี่ จีคลับ สล็อต มือถือ

สมัครslotpg

สมัครslotpg

I have review your publish-up couple of circumstances mainly because of the truth your views are by myself Normally. It is superb information and facts For each and every reader. สมัครslotpg

ufavip888

ufavip888

ufabetคาสิโนออนไลน์ UFABET เว็บตรง ไม่ผ่านเอเย่นต์ ทางเข้าสู่ระบบ เว็บแทงบอลและคาสิโนออนไลน์ บอลเดี่ยว สเต็ป บอลชุด เดิมพันกีฬาทุกประเภท เล่นคาสิโนออนไลน์ คาสิโนสด เกมยิงปลา สล็อตออนไลน์ เกมไพ่ออนไลน์ทุกรูปแบบ เล่นบาคาร่า รูเล็ต ไฮโล เกมคาสิโนยอดนิยมหลากหลาย ด้วยระบบฝากถอนออโต้ ทันสมัย ปลอดภัย คืนยอดเสีย 10% ทุกวันจันทร์ สูงสุด 10000 บาท

gclubfish888

gclubfish888

เกมสล็อตแตกง่าย ที่จะพาคุณเข้าไปท่องโลก ไปกับ Pgslot เว็บตรงด้วยระบบที่พิเศษของตัวเกม มีรูปแบบจัดทำออกมาให้เป็นเกมที่เล่นง่าย แจ็คพอต (Jackpock) แตกบ่อยที่สุด

สมัครslotpg

สมัครslotpg

Hey, this day is far too much great for me, given that this time I am reading by means of this large insightful short posting here at my dwelling. Several many thanks a lot for massive exertion. สมัครslotpg

ทางเข้าสล็อต

ทางเข้าสล็อต

I am grateful to you personally personally for sharing this myriad of helpful particulars. I found this resource utmost advantageous for me. Many thanks a whole ton for exertion. แทงบอลออนไลน์

kl

kl

ufabet888888 สมัครแทงบอลออนไลน์ คาสิโนบาคาร่า สล็อต เว็บไซต์พนันออนไลน์ ที่ดีที่สุด มั่นคงที่สุด คืนยอดเสีย 10% ทุกวันจันทร์ ยอดเสียสามารถถอนออกได้เลยไม่ต้องทำเทริน์ค่ะ เว็บไซต์เรามีเกมคาสิโนทุกค่าย ไม่ว่าจะเป็น GCLUB UFABET SBOBET ลูกค้าสามารถเลือกเล่นได้ทุกค่ายเลยค่ะ

MiclRhype

MiclRhype

[url=http://methocarbamol.gives/]where can i buy robaxin[/url]

ufabet999

ufabet999

สล็อตแตกง่าย เกมส์สล็อตออนไลน์ เกมที่ได้รับความนิยมจากผู้เล่นทั่วโลกในตอนนี้ การเล่นสล็อตของคุณจะไม่น่าเบื่ออีกต่อไปด้วยความพิเศษเพียบ สมัครสมาชิกเลย คลิ๊ก ufabet999 เว็บคาสิโนออนไลน์ อันดับ1

gclub pro

gclub pro

Yours for this great article for the reader a gclubnd this. gclub pro Is to confirm for you that this author creates good works only for you. Good content, I have a chance to see more of your good content in the future.

gclubvip888

gclubvip888

สล็อต gclub เล่นผ่านแอพ สล็อตจีคลับ888 ระบบ ฝาก-ถอน ออโต้ ใช้แค่เบอร์โทรล้อคอินระบบง่ายๆ ที่สำคัญเราคืนยอดเสีย 10% ทุกวันจันทร์ ไม่ติดเทริน์ถอนออกได้เลย จะเล่นสล็อตคิดถึงเราสิคะ gclubvip888

gclubfish888

gclubfish888

สล็อต gclub มีอะไรให้เล่นบ้าง? บาคาร่า จีคลับ888 ทดลองเล่นpg ทางเข้าpg สล็อตxo ทางเข้าxo gclub royal ทางเข้าจีคลับ

gclubvip888

gclubvip888

เกมที่มีคนให้ความสนใจมากที่สุดในตอนนี้ ต้อง gclub คาสิโนออนไลน์ จีคลับ888 ฝากขั้นต่ำเพียงแค่ 1 บาทเท่านั้น ระบบฝาก-ถอนใช้งานง่าย เจ้าเดียวในไทยเล่น gclub ผ่านแอพโดยที่ไม่ต้องล้อคอินเข้าหน้าจีคลับ และเป็นเจ้าเดียวที่คืนยอดเสีย 10% ถอนออกได้เลยง่ายๆ

gclub

gclub

«I want to take a moment to express my sincere gratitude and appreciation for your hard work and dedication in creatinggclub such an excellent website. Your effort has not gone unnoticed and the end product is truly outstanding. This website not only looks great, but its functionality is superb. Thank you for your tremendous work and for setting such a high standard in web design

gclub

gclub

«แน่นอนว่านี่คือเกมชูโรงของ Gclub
เพราะทุกคนที่เล่นพนันออนไลน์
จะรู้จัก บาคาร่าออนไลน์ กันเป็นอย่างดี
เรียกได้ว่าเป็นเกมที่ทุก ๆ เว็บ
ต้องมีเกมนี้ไว้ให้เล่นแน่นอน
บอกเลยว่าสุดฮิตสุดปังเลยล่ะ จีคลับ888 royal online «

libido gummies

libido gummies

Vexing libido gummies has been truly the journey. As someone acerbic on imbecile remedies, delving into the epoch of hemp has been eye-opening. From CBD lubricant to hemp seeds and protein powder, I’ve explored a classification of goods. Undeterred by the disarray bordering hemp, researching and consulting experts have helped navigate this burgeoning field. Complete, my experience with hemp has been positive, present holistic well-being solutions and sustainable choices.

Joshuafug

Joshuafug

I’ve been exploring terpene-based products https://terpenewarehouse.com/collections/terpene-blends-plus recently, and I’m deep down enjoying the experience. The scents are well off, real, and pleasant. They tot up a nice drink to my daily programmed, dollop fasten on the mood and atmosphere. A brobdingnagian find for anyone who appreciates perfumed wellness tools.