• Resolved kminderhout

    (@kminderhout)


    The old behavior of this plugin was that customers would complete their transaction on the PayPal side. I find the new flow very confusing how it redirects to my website. I like the smart buttons though and want to be able to keep the ability to pay with Venmo.

    Is there a setting somewhere that I’m missing that allows me to have the checkout completed with PayPal and not redirect to my site?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    I *think* you are referring to the new Credti/Debit card option that PayPal introduced recently. You can turn that off in the plugin settings page by disabling that method.

    If this is not what you are referring to, please respond and let me know more info so we can advise further.

    Hopefully that helps! Have a great one!

    Thread Starter kminderhout

    (@kminderhout)

    Thanks for the response, but not quite. I’m actually referring to the checkout process being completed with PayPal and skipping the review step. I looked into it further and all that needs to be done is change line 541 in class-wc-gateway-ppec-cart-handler.php to true.

    'commit' => 'checkout' === $page ? 'true' : 'false',

    This tells the PayPal API to finish the checkout with them as the price will not change, which is the functionality that works best for my site. As you can see this is how the plugin currently works when you are on the checkout page. I looked into it and there is no way to access or change the $page variable without altering the source code itself. Such an easy setting but no option to edit it.

    Plugin Contributor AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Thanks for clarifying!

    That setting is to allow for your shipping to actually be calculated on your site, as without that (and not having made it to cart/checkout), it can’t accommodate any additional shipping costs being added to the totals (or any other fees/discounts in the checkout process)

    Hopefully that helps! Have a great one!

    Thread Starter kminderhout

    (@kminderhout)

    It also unfortunately, doesn’t do what I wanted it to do. It still redirected me to the checkout page. I’m looking into other options. Thanks for the fast replies!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can I checkout through paypal instead of redirect?’ is closed to new replies.