#beinggandhi - payment receipt
1 messages · Page 1 of 1 (latest)
Hi! Taking a look here
You can find it here: https://stripe.com/docs/api/charges/object#charge_object-receipt_url by retrieving the charge: https://stripe.com/docs/api/charges/retrieve
Thanks . we are using hosted stripe checkout wiht prebuilt checkout.
Any recommendation in that case.
Also our platform account is acct_1HrjUNHaof0IjCDr , what we want to achieve is when a customer makes a payment on a connected account, they should get an email.
we are already collecting that email in the stripe hosted checkout page.
My email settings seems fine. Can we as platform change the email settings of connected account.
You can still attain the receipt_url by getting the payment_intent from the checkout session: https://stripe.com/docs/api/checkout/sessions/list#list_checkout_sessions-payment_intent, then retrieving the payment intent https://stripe.com/docs/api/payment_intents/retrieve to get the charge object.
- So from session, we get the payment intent.
- From payment intent we get Charge
- from charge we get the receipt link.
Can you share more information on the follow up question? Are the connected accounts having issues receiving payment emails? Are these payment in a test mode? Do you have a request id for one of these? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
We just received a complaint from the end customer with pi_3Kxy2aQiBxrjWjnu1ubMy6kP
that he didnt get an email
So the end customer is not receiving the email?
yes
by the way this has happened for all of our connected accounts.
Its just with offices reopening , lot of ppl need receipts for reimbursement ..increasing our support load
It looks like you are using Direct charges with Custom connect which is not recommended. With custom connect accounts, there is not a setting to enable receipt emails. Can you share more details about why you're using Direct charges with Custom connect?
Its a stop gap arragement before we move to destination charge with on-behalf.
pi_3KtGPHAKSoxyYGCz13Be7Ipl is the other transaction which I did as a end customer
I didnt get an email for the same.
"With custom connect accounts, there is not a setting to enable receipt emails. " ?? does that mean custom connect we wont be able to send email receipts ?
Yes, with your current flow, I'm afraid it's not possible to get automatic email receipts.
This transaction is for a customer who is on standard connect
why no email here?
same that account has email receipts disabled
nope
The best option would be to look at receipt_number on Charge. If there's one you know an email receipt was sent. If there isn't you could use https://stripe.com/docs/api/charges/update and pass receipt_email to force an email receipt to be sent!
we are using hosted checkout. how to force an email in this case.
Seems too convoluted to get a receipt link. something (invoice-link) which should have been in the session response.