Charge API Action does not allow Email and no Purchase Email

180 views
Skip to first unread message

Priyabrata Sarkar

unread,
May 23, 2014, 2:32:33 AM5/23/14
to api-d...@lists.stripe.com
Hi,

I just found that with Stripe Charge Action (https://stripe.com/docs/api#create_charge) , users are not getting purchase emails. This is due to the fact Charge action does not accept Email of the buyer. Only way is to trigger is pass an customer object which will use previous saved card of the customer and use the customer email if charge succeeded.

But in some case, as we need, we can not pass customer reference for all charges, but still want the purchase emails to be sent.

Can you check and add provision for that?

Even if adding Email in Card object which accepts address https://stripe.com/docs/api#retrieve_card can be updated with Email, that should work.

In effect the purchase email should be sent to buyer.

Thanks

Hanson Wong

unread,
May 27, 2014, 9:15:04 AM5/27/14
to api-d...@lists.stripe.com
I also think that we should be able to pass an email address on a charge so that Stripe sends out a receipt.

In our implementation, we don't store customers as we usually have one-off transactions. And so we should not need to clutter up Stripe with customer objects in order to send a simple receipt.

Jim Danz

unread,
May 27, 2014, 11:14:20 PM5/27/14
to api-d...@lists.stripe.com
Hi folks,

Thanks for writing in to raise this. It's been a very common ask and
something that we are overdue for fixing. I hope to have more to share soon.

Jim
> --
> You received this message because you are subscribed to the Google Groups
> "Stripe API Discussion" group.
> To post to this group, send email to api-d...@lists.stripe.com.
> Visit this group at
> http://groups.google.com/a/lists.stripe.com/group/api-discuss/.
>
> To unsubscribe from this group and stop receiving emails from it, send an
> email to api-discuss...@lists.stripe.com.

Alex Sexton

unread,
Jun 12, 2014, 3:44:33 PM6/12/14
to api-d...@lists.stripe.com
Hi,

I'm happy to let you know that we've added this to the API as of yesterday.

You can now pass in a `receipt_email` when creating a charge or
capturing a charge to
send a receipt to that email address. Receipts are only sent when the
payment succeeds. Any `receipt_email` passed in will override a
customer's default email. Emails still will not be sent in test mode,
though live mode `receipt_email`s will ignore the merchant's customer
email settings.

Doc are here on: https://stripe.com/docs/api#create_charge

Thanks!
Alex

Priyabrata Sarkar

unread,
Jun 16, 2014, 2:37:56 AM6/16/14
to api-d...@lists.stripe.com
That is great, I will update our system, Thanks very much
Reply all
Reply to author
Forward
0 new messages