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:
Shahed Nasser
2025-09-30 18:40:36 +03:00
committed by GitHub
parent a1dd2de0de
commit 0c7cbfb2e7
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/payment-stripe": patch
---
feat(payment-stripe): Allow passing shared payment token in Stripe

View File

@@ -127,6 +127,11 @@ abstract class StripeBase extends AbstractPaymentProvider<StripeOptions> {
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
}