#damol0_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ 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.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ 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/1226847662062567436
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
This seems to be limited to an amex payment method that had being trying to re-direct for 3DS authorisation before I set off_session=True on the creation of the PaymentIntent
Now the payment is not failing for 3DS authorisation needed (i.e paymentIntent is succeeding) but charges are not being set
Probably API version related as charges field was deprecated in favour of latest_charge recently: https://docs.stripe.com/upgrades#2022-11-15
In the creation request for that PI you're explicitly passing 2023-08-16: https://dashboard.stripe.com/logs/req_UhHlwHtkaT6vJR
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
ah yes, ok, im supposed to be using the 2020 one - perhaps that got changed somewhere - you guys have not deprecated the 2020-08 version have you?
No they're never deprecated, always backwards compatible. Just we need to occasionally make breaking changes
ok cool, ill reset my code to 2020 version and hopefully that fixes it. thanks for the help, you rule!
No problem, glad I could help!
actually while I have you ๐
I havent been able to find this in the docs.
If I'm doing a create PaymentIntent, other than setting metadata (which my customer does NOT see) and description (which my customer does see) is there a way to set info (like a long list of order numbers the payment is for, which would not fit in the description) on the invoice data that is automatically emailed to the customer ?
Which invoice are you referring to?
(a single payment could cover 10+ orders). Doesnt the customer get emailed something directly by stripe after a payment intent is confirmed? I have seen it referred to in the dashboard (seems like an autgenerated invoice sent via email for that. payment intent), but I have never seen the email that gets sent out
intent = stripe.PaymentIntent.create(
amount=amount,
customer=customer,
currency="usd",
confirm=True,
off_session=True,
payment_method=payment_method,
description="Product Cost, Shipping, and Rev Share",
metadata=metadata,
)
currently my intent looks like that
OK so I guess you mean receipt not invoice
ntent = stripe.PaymentIntent.create(
amount=amount,
customer=customer,
currency="usd",
confirm=True,
off_session=True,
payment_method=payment_method,
Maybe there is something like this I can add:
data_for_the_reciept _that_customer_sees = "Orders: 117,23,44,223"
description="Product Cost, Shipping, and Rev Share",
metadata=metadata,
)
And unfortunately there is no way to include arbitrary data on our standard receipts โ you'd need to handle that yourself