#Jonah Librach
1 messages · Page 1 of 1 (latest)
Hey vanya
Hi! Let me help you with this.
NP
allow_promo_codes should help: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-allow_promotion_codes
Where would the data from the promotion code end up in the webhook Subscription object?
Sorry if this is obvious
In the discount field: https://stripe.com/docs/api/subscriptions/object#subscription_object-discount
TY. Will check it.
Also, is it possible to customize some of the text on the link created with stripe.checkout.Sesssion.create?
Yes, there's a custom_text field: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-custom_text
Happy to help. Please, let me know if you have any other questions.
But this custom_text is only for shipping_address and submit. I was hoping I could show it on the left of the screen with the product name and logo
Or somewhere else convenient so the user knows, for example, that the checkout link is for their account
I.e,
Checkout session for vanya@stripe.com