(payment) Add description option on Stripe input

This commit is contained in:
Baptiste Arnaud
2023-03-29 15:08:03 +02:00
parent 50db9985c4
commit bb45b33928
3 changed files with 33 additions and 19 deletions

View File

@@ -57,6 +57,7 @@ const createStripePaymentIntent =
amount,
currency: options.currency,
receipt_email: receiptEmail === '' ? undefined : receiptEmail,
description: options.additionalInformation?.description,
automatic_payment_methods: {
enabled: true,
},