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.).
Issue fork commerce_stripe-3385908
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
Comment #2
thenyouDi commentedComment #6
vmarchukCommitted!