Support

Home Forums Event Espresso Premium Sandbox Payment Testing

Sandbox Payment Testing

Posted: January 8, 2013 at 5:20 pm


Joyride150

January 8, 2013 at 5:20 pm

Quick question…when testing Paypal transactions using Sandbox, should a person’s payment status change to “paid” in the attendee list? Or will this not occur because it is not a real payment (only test)?


Jonathan Wilson

January 8, 2013 at 5:53 pm

Hello Shannon,

It should change to “Complete”. But, you have to have a testing account with Paypal to do this successfully.


Joyride150

January 9, 2013 at 11:59 am

Hmmm. I did set one up and went through the whole process. It appeared as though it worked and it listed my payments in my fake PayPal account, but Espresso never changed their payment status to complete.


Josh

  • Support Staff

January 9, 2013 at 12:53 pm

Hi Shannon,

When you set up the sandbox account, did you turn on the IPN feature? It’s off by default.

In order to turn on the IPN, you’ll need to log into the business test account by selecting the sandbox account from the Test Accounts page and click the button that is labeled Enter Sandbox Test Site. After entering the credentials for that account, the IPN settings page can be navigated to by going to Profile > Selling Preferences > Instant Payment Notification Preferences.

Once the IPN is turned on, test and live IPN’s get logged in /wp-content/uploads/espresso/logs, so you can check there for errors if it’s still not working.

One other thing with sandbox accounts to check: There’s an option to test the payment review, which should be disabled when testing the IPN.


Chris Reynolds

  • Support Staff

January 9, 2013 at 1:52 pm

Shannon —

Are you testing on a local site or a live site? Is the transactions page publicly accessible (if on a live site)?

If PayPal can’t reach the transactions page — either because your site is in maintenance mode or because it’s a local test site — then the payment status won’t change.


Joyride150

January 9, 2013 at 1:56 pm

Thanks for the help guys. I am testing on a live site. I just followed Josh’s instructions – the IPN was in fact turned off…but Sandbox is asking for a URL when I try to select “Turn IPN ON”. What URL do I use?


Joyride150

January 9, 2013 at 3:15 pm

The process seems to be working up until you get the confirmation of payment in PayPal. Users are sent to the PayPal Payment confirmation page but then the process stops there. Are they supposed to be redirected back to my website (Thank you page)?


Joyride150

January 9, 2013 at 3:26 pm

Still no change in the payment status of my attendees.
It seems like Event Espresso is communicating with PayPal…but PayPal is not talking back.
The process ends on the “Thanks for your order – PayPal” page and my payment statuses are not updated.
Sorry to be a pain…but I’m in a serious time crunch here.


Joyride150

January 9, 2013 at 4:07 pm

So PayPal (Sandbox) is not re-directing me back to my website…but I do get a “Return to scott@joyride150.com” link. Firstly – why is it the e-mail of my account instead of my business/website name? Secondly, when I click on it I get this error:
Secure Connection Failed
An error occurred during a connection to http://www.joyride150.com.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.

Does this have anything to do with the fact that my payment statuses are not being updated?


Josh

  • Support Staff

January 9, 2013 at 6:36 pm

Secondly, when I click on it I get this error:
Secure Connection Failed

It sounds like the force return URL as SSL/https option was checked in the Event Espresso>Payment settings. This option shouldn’t be checked unless there is an SSL certificate installed for the domain where Event Espresso is installed. Can you make sure that this option is unchecked? I beleive there is also an option on the PayPal account side where this can be configured, but will only work if there is an SSL certificate installed.

Firstly – why is it the e-mail of my account instead of my business/website name?

The name of the store is set in the PayPal account settings as the Business Name. You can change the business name in by logging into the PayPal account and going to Profile > Business information.


Joyride150

January 9, 2013 at 6:57 pm

Thanks – that was it exactly!!!

The support post ‘Sandbox Payment Testing’ 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.

Event Espresso