Ensure stripe payment element using manual capture method check out properly

Created on 26 October 2024, 4 months ago

Problem/Motivation

With the changes in πŸ› With the latest version 8.x-1.x, 2 payments are created per order Active , we are now properly processing the payment in onReturn(), rather than relying on the PaymentProcess checkout pane to do so.

We were still redirecting to the payment checkout step, though, and relying on it to handle the redirect to the checkout completion page.

This works for Auth+Capture (Stripe's "automatic" and "automatic_async" capture_methods).

For Auth-Only(Stripe's "manual" capture_method), though, it was not. The PaymentProcess Pane was only forwarding orders that were isPaid() to the completion step.

Proposed resolution

We need to handle the order completion logic in the onReturn(), and move the checkout directly to completion. (skipping the "payment" step, which is superfluous.)

πŸ“Œ Task
Status

Active

Version

1.0

Component

Payment Element

Created by

πŸ‡ΊπŸ‡ΈUnited States TomTech

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024