fix stripe/charge.php for connect mode with payment intent

This commit is contained in:
ptibogxiv 2020-01-21 10:59:57 +01:00 committed by GitHub
parent 041d5aeb46
commit b4758295e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ if (!$rowid)
}
if (! empty($charge->payment_intent)) {
$charge = \Stripe\PaymentIntent::retrieve($charge->payment_intent);
$charge = \Stripe\PaymentIntent::retrieve($charge->payment_intent, array("stripe_account" => $stripeacc));
}
// The metadata FULLTAG is defined by the online payment page