#shybes_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1212523657885388820
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- shybes-checkout-abandonment, 5 days ago, 58 messages
Did a bit more research -- Would it just be as easy as setting
payment_intent_data = {"description":"<blah blah blah>"} to the dict?
I'm also assuming I have no control over the formatting of the description appended to the receipt.
Hi, can you clarify what you mean by 'legal information to my subscription'? What exactly are you looking for? I do not think you're referring to customizing the policy: https://docs.stripe.com/payments/checkout/customization#policies but I do not fully understand what you're exactly looking for. Can you add more details?
For example, Spotify appends this data to the bottom of their receipts :
I'm looking to have something of a similar nature appended to the bottom of mine.
(The legalese in particular)
We document what on the receipts are customizable: https://docs.stripe.com/receipts?payment-ui=checkout. Like you mentioned, you can use the description attribute to add a cancellation policy for instance: https://docs.stripe.com/receipts?payment-ui=checkout#customizing-receipts.
Correct. My question is, can I just attach the payment_intent portion to the checkout session dict?
The documentation is only in reference to the subscription object, which i do not use.
I see what you're asking. You can use this https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-description attribute to see the description on the Payment Intent object.
stripe.error.InvalidRequestError: Request req_NWGsu1MGgU1dyb: You can not pass payment_intent_data in subscription mode.
Odd, it gives me this error.
You mentioned you do not use the subscription object so I assumed you were using Checkout in Payment mode only. Yeah, the error you see is expected as Stripe created the Payment Intent under the hood. You can se the description on the subscription object, https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-subscription_data-description. Can you try and see if that solves your ask?
Lets see
No errors, just gotta figure out how to send the test email since we currently automatically apply a free trial as a differed payment mechanism
Let me see if I can dig up a way to use the immediate payment
Hmm, it doesn't seem like test receipts send. Is there any way to view what it would've looked like?
maybe via the test mode dashboard?
I think you can try to add the account owner's email address and trigger the email to be sent via the Dashboard, https://docs.stripe.com/receipts#:~:text=You can see a real,then enter your email address.
Yup, but
It seems like the description didn't append at all.
it shows in the dashboard description, but, does not append any data itself to the receipt
Hm, to be honest I do not think what you're looking for is possible. However, this is a related to email receipts and our support team will be able to assist you better than I can: https://support.stripe.com/contact
Whichever you prefer
Sure!