• Resolved aaronbennett2097

    (@aaronbennett2097)


    Odd one here.

    I have both your stripe and paypal plugins installed, but when I click on card(stripe) the place order button changes to “Pay with PayPal” – when I disable the paypal plugin it correctly displays “Place order”.

    Any ideas?

    Thanks

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

    (@mrclayton)

    Hi @aaronbennett2097

    It sounds like you might be confusing the PayPal plugin’s new credit card gateway option with Stripe’s credit card option.

    Can you share a link to a product page on your site so I can take a look at your checkout page?

    Kind Regards

    Thread Starter aaronbennett2097

    (@aaronbennett2097)

    Hi @mrclayton

    Sure, here’s the link to the site…

    https://englishgraphics.com

    if you add a product to the basket and go to the checkout, when you get to the payment section, select card payment and look at the button, it’s saying PAY WITH PAYPAL rather than PLACE ORDER, which is what it displays if I disable your paypal plugin.

    Thanks

    Thread Starter aaronbennett2097

    (@aaronbennett2097)

    Also, to clarify, I don’t have the PayPal credit card settings enabled in the Payment Plugins for PayPal settings.

    Thanks

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @aaronbennett2097

    If you go to the Credit Card Settings page of the Stripe plugin, there is an Order Button Text option. Can you confirm if that’s blank? If so, try adding a value there like “Place Order” and see if that resolves the issue.

    WooCommerce controls that logic and I believe if that value is empty, WooCommerce will default to the previous value.

    Kind Regards

    Thread Starter aaronbennett2097

    (@aaronbennett2097)

    Hi @mrclayton.

    Thanks, but I can’t see the Order Button Text option at all, would you mind sending a screenshot of where it is.

    Thanks

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @aaronbennett2097

    My bad, the order button text option is for the local payment gateways. I just performed a test with the Stripe and PayPal plugins active and didn’t observe the issue you’re reporting.

    The issue is with your custom theme I believe. The place order button in standard WooCommerce, defines a data attribute data-value="Place Order". That attribute is used as the default place order text. On your checkout page, that data attribute is missing.

    Here is your place order button’s HTML:

    <button type="submit" class="button shadow-button full alt" name="woocommerce_checkout_place_order" id="place_order">Pay with PayPal</button>

    It should look like:

    <button type="submit" class="button shadow-button full alt" name="woocommerce_checkout_place_order" id="place_order" data-value="Place Order" value="Place Order">Pay with PayPal</button>

    Kind Regards

    Thread Starter aaronbennett2097

    (@aaronbennett2097)

    That solved it, thank you so much – apologies for suspecting the plugin was the issue, it only showed up once I added the paypal plugin.

    Appreciate your help in solving!

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @aaronbennett2097

    Thank you for confirming you were able to resolve the issue. If you have a moment we always appreciate a good review. https://wordpress.org/support/plugin/woo-stripe-payment/reviews/

    Kind Regards

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Pay button showing incorrect text’ is closed to new replies.