Events Made Easy › Forums › How do I … › Show custom payment return page isn't working
Tagged: stripe email address
- This topic has 17 replies, 2 voices, and was last updated 8 years, 3 months ago by Franky.
-
AuthorPosts
-
Mon 1 Aug 2016 at 20:42 #55652AnonymousInactive
If I enable the settings>payments>show custom payment return page, then I add simple text to display on that page, I am redirected to a page that ends with “/#eme-rsvp-message”, but nothing loads – the page is blank.
It doesn’t matter whether I add a successful or a failed payment.
What am I doing wrong?
Mon 1 Aug 2016 at 22:56 #55653FrankyKeymasterCan you give a demo on that? If I test e.g.
http://localhost/wordpress/events/?eme_pmt_result=succes&event_id=6
(replace the event id with your own), then it works fine here.
That setting is only used after payment is handled (e.g. paypal) and you’re returned to the regular page, and it shouldn’t end in “/#eme-rsvp-message”.
Also: which version are you using?Mon 1 Aug 2016 at 23:39 #55654AnonymousInactiveNow I think it is really messed up – I have set it back to not show custom page and it still goes to https://forestanimalrescue.org/events/5/monday-august-8-2016-1000am-1130am/#eme-rsvp-message after the payment and hangs up with a blank screen. I’m on Version 1.6.20
Mon 1 Aug 2016 at 23:42 #55655AnonymousInactiveBy the way, I’m using the Stripe merchant account if that matters.
Mon 1 Aug 2016 at 23:59 #55656FrankyKeymasterI just made a test reservation (please do delete it), and it seems to work ok until the step before payment. If you are using stripe and it fails with a blank page, it means php is throwing an error and halting on stripe functionality. Check you webserver logfiles for errors, a hint will be in there as to why it fails.
Tue 2 Aug 2016 at 00:01 #55657AnonymousInactiveCan you email me privately and I will give you a test number to make a sample payment. It is after the payment completes that it hangs up
Tue 2 Aug 2016 at 00:20 #55659FrankyKeymasterMy email is in the plugin description …
But: even if I pay, I won’t be able to see your webserver logfiles, you still need to check that outTue 2 Aug 2016 at 15:28 #55662AnonymousInactiveI let the blank page sit overnight for kicks and it finally returned this: Fatal error: Uncaught exception ‘Stripe\Error\InvalidRequest’ with message ‘Invalid positive integer’ in /home/lstoner/forestanimalrescue.org/wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-3.7.0/lib/ApiRequestor.php:103 from API request ‘req_8vuVPdoFORz8fj’ Stack trace: #0 /home/lstoner/forestanimalrescue.org/wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-3.7.0/lib/ApiRequestor.php(217): Stripe\ApiRequestor->handleApiError(‘{\n “error”: {\n…’, 400, Array, Array) #1 /home/lstoner/forestanimalrescue.org/wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-3.7.0/lib/ApiRequestor.php(60): Stripe\ApiRequestor->_interpretResponse(‘{\n “error”: {\n…’, 400, Array) #2 /home/lstoner/forestanimalrescue.org/wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-3.7.0/lib/ApiResource.php(108): Stripe\ApiRequestor->request(‘post’, ‘/v1/charges’, Array, Array) #3 /home/lstoner/forestanimalrescue.org/wp-content/plugins/events-made-easy/payment_gateway in /home/lstoner/forestanimalrescue.org/wp-content/plugins/events-made-easy/payment_gateways/stripe/stripe-php-3.7.0/lib/ApiRequestor.php on line 103
I checked our Strip API keys and there was a new API version, I updated it – it still hangs up. I ‘rolled’ the API keys and tried again – still no change.
My site is exceptionally slow right now, and host tech support says I have been hitting some RAM issues. Could that be the source of the problem? They didn’t see anything in the webserver logfiles.
I disabled any recent plugins and installed a cache plugin last night – still no help.
Tue 2 Aug 2016 at 16:44 #55663FrankyKeymasterAccording to stripe:
https://support.formstack.com/customer/portal/articles/1899106
this means that $0.00 is being sent to Stripe
Now this is not really possible, as I check beforehand if the price is >0Could you test the dev-version? Some booking form fixes are in there, maybe it helps you.
Tue 2 Aug 2016 at 17:04 #55664FrankyKeymasterBtw: I just released 1.6.21, please test that one 🙂
Tue 2 Aug 2016 at 18:34 #55665AnonymousInactiveThe new release fixed the problem! Thanks!
It seems that another small issue that I didn’t realize was related may have been a symptom as well. In the last version, when I was trying to pay for a single booking, the payment form would read “multibooking” on the top. It now reads correctly too.
Thanks for your time!
Tue 2 Aug 2016 at 19:40 #55666AnonymousInactiveI don’t know if this is related or if it should be a new thread…It all seems to be working fine, so I went ‘live’ with our stripe account and tested it with my credit card. It has one problem with the strip integration, the email address is collected as the name and the email address field in stripe is blank. This results in a failure to issue a receipt by email for the stripe payment and messes up my integration for adding subscribers to our email list from there.
Is there a setting on my end that will correct that or is it on your end?
Tue 2 Aug 2016 at 21:46 #55668FrankyKeymasterCurrently I’m following the stripe API code examples … didn’t see anything resembling email address in there:
https://stripe.com/docs/chargesTue 2 Aug 2016 at 21:57 #55670AnonymousInactiveIt must be there somewhere. We have a Donorbox integration that collects the name and email address when someone makes a successful donation, which allows stripe to automatically issue a receipt and another integration then adds them to our email list with the name included.
I have emailed Stripe with the same questions but have not heard back yet.
Tue 2 Aug 2016 at 22:35 #55672FrankyKeymasterOk, based on https://stripe.com/docs/checkout
I found that you can pass data-email to the form.This was not done before btw 🙂
So, check this out: https://plugins.trac.wordpress.org/changeset/1466469/Tue 2 Aug 2016 at 22:57 #55674AnonymousInactiveNow the email address is pre-populated in the payment form, which is nice, but in the stipe customer created, the email address is still showing up in the name field and not being imported to the email field in the stripe customer record.
If we can get the email address in the right place when it goes over to Stripe and then a name (even if it is not pre-populated since the payment could technically be on a different person’s credit card) – any one of the name fields would be good to capture for mailing list purposes.
Tue 2 Aug 2016 at 23:29 #55675FrankyKeymasterThat’s something you need to take up with Stripe (the email=>customer creation), since I use their API to create a payment and if they don’t use their own email value as email for a customer it means they have a bug …
Creating a stripe customer will return a stripe customer id, meaning that later on you could use that same id again. Currently EME doesn’t support that. I could always just create a new customer but I don’t think stripe would like that …Wed 3 Aug 2016 at 13:18 #55680FrankyKeymasterBtw, if you get any feedback from Stripe on how to do this, I’ll be happy to take it into consideration. I could include the name in the form as a hidden field ….
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.