Events Made Easy Forums How do I … Show custom payment return page isn't working

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #55652
    Anonymous
    Inactive

    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?

    #55653
    Franky
    Keymaster

    Can 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?

    #55654
    Anonymous
    Inactive

    Now 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

    #55655
    Anonymous
    Inactive

    By the way, I’m using the Stripe merchant account if that matters.

    #55656
    Franky
    Keymaster

    I 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.

    #55657
    Anonymous
    Inactive

    Can 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

    #55659
    Franky
    Keymaster

    My 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 out

    #55662
    Anonymous
    Inactive

    I 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.

    #55663
    Franky
    Keymaster

    According 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 >0

    Could you test the dev-version? Some booking form fixes are in there, maybe it helps you.

    #55664
    Franky
    Keymaster

    Btw: I just released 1.6.21, please test that one 🙂

    #55665
    Anonymous
    Inactive

    The 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!

    #55666
    Anonymous
    Inactive

    I 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?

    #55668
    Franky
    Keymaster

    Currently I’m following the stripe API code examples … didn’t see anything resembling email address in there:
    https://stripe.com/docs/charges

    #55670
    Anonymous
    Inactive

    It 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.

    #55672
    Franky
    Keymaster

    Ok, 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/

    #55674
    Anonymous
    Inactive

    Now 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.

    #55675
    Franky
    Keymaster

    That’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 …

    #55680
    Franky
    Keymaster

    Btw, 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 ….

Viewing 18 posts - 1 through 18 (of 18 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top