In the Payment Element workflow, we are expected to present our own submit button and to invoke the library’s confirmPayment() function, at which time SCA may be presented to the customer in the iframe if needed. If not or after the customer has successfully authenticated the transaction, they will be redirected to a return_url, which in our case should be the special URL Drupal Commerce uses to advance the customer to the next page in checkout.

We need to ensure that this process triggers properly and that upon successful payment a Payment entity is created with the appropriate details (price, status, remote ID, etc.).

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

thenyouDi created an issue. See original summary.

thenyouDi’s picture

Component: Stripe Elements » Payment Element

vmarchuk made their first commit to this issue’s fork.

  • vmarchuk committed f7283671 on 8.x-1.x
    Issue #3385908: Ensure Payment Entity is Created After Payment...
vmarchuk’s picture

Status: Active » Fixed

Committed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.