feat(payment-stripe): Allow passing shared payment token in Stripe (#13632)
* feat(@medusajs/payment-stripe): Allow passing shared payment token in Stripe * fix changeset
This commit is contained in:
1 parent
a1dd2de0de
commit
0c7cbfb2e7
2 files changed
+10
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/payment-stripe": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
feat(payment-stripe): Allow passing shared payment token in Stripe
|
||||||
@@ -127,6 +127,11 @@ abstract class StripeBase extends AbstractPaymentProvider<StripeOptions> {
|
|||||||
|
|
||||||
res.return_url = extra?.return_url as string | undefined
|
res.return_url = extra?.return_url as string | undefined
|
||||||
|
|
||||||
|
// @ts-expect-error - Need to update Stripe SDK
|
||||||
|
res.shared_payment_token = extra?.shared_payment_token as
|
||||||
|
| string
|
||||||
|
| undefined
|
||||||
|
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user