Skip to content

Commit

Permalink
Merge pull request solidusio#47 from spaghetticode/spaghetticode/fix-…
Browse files Browse the repository at this point in the history
…payment-request-with-intents

Send form data also when paying with payment request button
  • Loading branch information
spaghetticode authored Apr 10, 2020
2 parents e54dcfe + 2fa5478 commit b2516b0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ SolidusStripe.PaymentIntents.prototype.onPrPayment = function(payment) {
'Content-Type': 'application/json'
},
body: JSON.stringify({
form_data: this.form.serialize(),
spree_payment_method_id: this.config.id,
stripe_payment_method_id: payment.paymentMethod.id,
authenticity_token: this.authToken
Expand Down

0 comments on commit b2516b0

Please sign in to comment.