Browse Source

fix(payments-plugin): Include metadata in createPayment of Stripe handler (#3692)

Drayke 5 months ago
parent
commit
d415dd0f8c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/payments-plugin/src/stripe/stripe.handler.ts

+ 1 - 0
packages/payments-plugin/src/stripe/stripe.handler.ts

@@ -62,6 +62,7 @@ export const stripePaymentMethodHandler = new PaymentMethodHandler({
             amount: amountInMinorUnits,
             state: 'Settled' as const,
             transactionId: metadata.paymentIntentId,
+            metadata,
         };
     },