Posted: April 25, 2017 at 6:05 am
Hi guys, we are going live this Friday and have noticed in final (live) Stripe testing, that when a ticket is purchased, there is no customer record created (and linked to payment) and no payment receipt is sent out from Stripe. We have turned on, ‘Collect the users billing details’ in EE Stripe settings, but this makes no difference. I’ve noticed from some older topics that this may be down to ‘request-email’ not being sent to Stripe? This is going to cause us two issues – 1. When looking in Stripe it’s not easy to see all payments made by one customer 2. Payment receipts are not sent by Stripe to the customer Can you help please? Thanks. |
|
Hi there, The Stripe add-on does not create customers within Stripe, it uses a charge call to charge the users card within creating an individual customer within Stripe.
Do you mean https://stripe.com/docs/api#create_charge-receipt_email
So if a user didn’t want to send the email receipts from Stripe and had them disabled in their account the above would force them to send.
You can search within your Stripe payments by email to view all payments made by a user using that email address.
The receipt should send regardless of creating a customer within Stripe, do you have email receipts setup within Stripe: https://dashboard.stripe.com/account/emails Do you have at least ‘Successful Payments’ checked? – http://take.ms/M5v8K |
|
HI Tony, thanks for the reply. Yes, email receipts are enabled and Successful Payments checked. How can I force a receipt to be sent please? Thanks |
|
bump! 🙂 |
|
Hi there, I can share this documentation with you: https://stripe.com/docs/dashboard/receipts If you were using your live API key when you made a live transaction, that should have triggered an email. Usually you get “No receipts sent — No email address for this payment” if the there are testing API keys involved. If have further questions about Stripe and email receipts you can reach out to Stripe support. |
|
Hi Josh, yes, we’re using live keys for this final test and have the receipt settings enabled. Receipts are being sent when memberships are being purchased via PMPro, but they create a customer record in Stripe. We’ll get in touch with Stripe support. Thanks |
|
Not necessarily, and we’re looking into this and I figured you could also help look into this since you bumped the thread. |
|
Ok Josh. If you think of anything else, that would be appreciated. Thanks |
|
Hi, I understand why you’re not passing an email address in the receipt_email variable as that overrides the Stripe ‘send receipt’ setting, but it looks like Stripe is expecting an email address in a certain place to use anyway and it’s not there… |
|
We did some checking and had an idea for adding a filter hook to allow for sending additional params to Stripe. The filter hook is included in this branch that you can download here: https://github.com/eventespresso/eea-stripe-gateway/archive/master.zip Once you have the above branch installed, you can make use of the filter hook by adding the following code to a site specific plugin: You can add the above to a functions plugin. |
|
thanks Josh, we’ll take a look! Out of interest, if we have a branch of core or an add-on installed, how do we know when the next release of core or an add-on includes that branch – so it’s safe to upgrade? |
|
You can check the change log for that information. |
|
Thanks Josh. That change for getting email receipt in Stripe works a treat! |
|
OK thanks for the update. We’ll be sure to include the new filter hook in EE4 Stripe Payment Gateway v1.0.15.p. |
|
HI Josh, FYI, I received this back from Stripe support – I had to bring in a little help on this one, but we were able to get to the bottom of what was going on. After taking a look at the log for each charge, we found that in the API coding, you have the email being listed under name, rather then as their email. When the code gets to the point where it’s suppose to initiate and send out to the customer, it’s reading a name instead of an email. To help resolve this, I was able to pull a link that will assist in editing your API: https://stripe.com/docs/dashboard/receipts#automatically-send-receipts-using-the-api |
|
Thanks for posting the response. The link they’ve given is for the Regarding this:
I’m pretty sure that’s connected with not using Stripes ‘customers’, we actually do send the email address to Stripe (within the email field, not name) the charge returns from Stripe with the name field set to the email address we passed in earlier (again likely because there was no customer created). |
|
The support post ‘VERY URGENT – Stripe issues: not creating customer record or sending receipts’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.