Review the Review Page to Move the Payment Element There

Created on 7 September 2023, 10 months ago
Updated 20 September 2023, 10 months ago

This move is somewhat complicated โ€ฆ weโ€™re going to make an โ€œoffsiteโ€ payment gateway function like an onsite one by altering the review step to embed the offsite form there. This requires disabling the ordinary buttons on the review step and then altering the form into place.

The clearest example I know of for this is the Smart Payment Buttons implementation in the Commerce PayPal module. Implementing this will almost certainly require the event subscribers in the module already to be updated to support updating payment intents for Payment Element payments โ€ฆ when a customer inputs a coupon code on the review step, if it applies, the intent needs to be updated with the new order total at the very least. If there are other things that need to be synchronized, we should break this work out into a separate ticket.

๐Ÿ“Œ Task
Status

Fixed

Version

1.0

Component

Payment Element

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States thenyouDi Asheville, North Carolina

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

Comments & Activities

Production build 0.69.0 2024