• Resolved silvo37

    (@silvo37)


    Hello,
    I would like to add text with the link right below the card form. Is there some hook so I can achieve this via php?
    Something like: “Payment is powered by Stripe” and Stripe should contain a link to Stripe page.

    If I use jquery to append the text, ajax in woocommerce will just ignore it. And if I use css :after, I cant add href to it.

    Thank you for your help.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @silvo37,

    You can use templating to customize the credit card form to display any text you like.

    https://docs.paymentplugins.com/wc-stripe/config/#/templates

    The template you want to copy is templates/checkout/credit-card.php and from there you can add your custom text.

    Kind Regards,

    Thread Starter silvo37

    (@silvo37)

    Hello mrclayton,

    Thanks for your help ??

    Thread Starter silvo37

    (@silvo37)

    I just realized after I copied credit-card.php to mytheme/woo-stripe-payment/checkout It is not possible to fill the credit card details on checkout.
    Not possible to click into them.

    Hi @silvo37,

    The most common reason for that would be you have a syntax error in your custom template or you changed one of the required html elements.

    I reviewed your checkout page and the Bootstrap credit card form is working. Did you figure it our or did you remove your custom template?

    Thread Starter silvo37

    (@silvo37)

    Hello Carmin, I just copied credit-card.php once again and it solved the problem so you were probably right.

    Thank you very much.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hook for below card form?’ is closed to new replies.