How to show smart payment buttons on review page?

Created on 8 June 2023, over 1 year ago
Updated 26 December 2023, 11 months ago

Problem/Motivation

On the demo Paypal commerce cart: (https://commerce.demo.centarro.io) the smart paypal buttons appear nicely on the Review page (see screenshot). How is this done exactly?

The only way I can get them to appear at all is if I turn on the option "Show Smart Payment Buttons on the cart page" in the Gateway settings. But I really don't like them on the Cart page.. that seems like a strange place to make the payment. User hasn't even reviewed the order yet.
If they have to be on the cart page, the "checkout" button is confusing, and clicking that (if you don't fill out the Smart buttons) causes the payment to be skipped.

If I don't have that option checked, then I never see the Smart payment buttons at all. On the review page, I see a single button "Pay and Complete Purchase" -- but clicking that results in an error: "We've encountered an unexpected error processing your payment method. Please try again later".

My Payflow screenshot is also attached.

We're not doing user login for purchase, it's just all checkout as guest..

💬 Support request
Status

Closed: duplicate

Version

1.0

Component

PayPal Checkout

Created by

🇺🇸United States wheelercreek

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @wheelercreek
  • 🇦🇷Argentina leofishman

    The same happens to me using opigno site with drupal commerce 8.x-2.27
    I went trought all the documentation, but maybe we are missing some configurations?

  • 🇦🇺Australia thursday_bw

    I am seeing this exact same issue, and it is also reported here: https://www.drupal.org/project/commerce_paypal/issues/3380733 💬 Paypal smart buttons showing on cart page not review or payment page Active

    4 months and no response on that other issue, and 6 on this one.

    I have been configuring and working with this module for about 3 days now to try and get it to work and am now finding both these issues.

    I downgraded the module just now to version 1.0 and the smart buttons do not show on the cart on that version either.

    This is a critical issue, if the checkout flow does not integrate paypal, then what's the point of the module, that is it's usecase.

    I'll keep digging as I need it to work, but I have spent days on this already.

  • 🇮🇱Israel jsacksick

    Well, because this is a support request, not a bug report with reproducible steps... There's no such thing as a "critical" support request... I replied to you on the other issue you linked, there's no point in multiplying issues, this isn't going to give you a faster answer.
    I think you're misunderstanding how this module works.

    The "PayPal checkout" flow is for the "shortcut" flow where payment is initiated from the cart page.
    If you want the smart payment buttons to appear on the review step, then you have to make sure the payment information pane is placed in a step prior to the review so the paypal gateway is set on the order... That's as simple as that.

  • Status changed to Closed: duplicate 11 months ago
Production build 0.71.5 2024