Support

Home Forums Community Forum developer.paypal.com or sandbox.paypal.com?

developer.paypal.com or sandbox.paypal.com?

Posted: January 26, 2017 at 7:42 am


John Christenbury

January 26, 2017 at 7:42 am

I am setting up a registration form for a client that is using a PayPal Business account and I am using the PayPal Express method to handle payments. I can’t get past the Payment Options screen. It has the PayPal logo/button and the Proceed to Finalize Registration button. However I can’t get past this screen. I continually get the “it appears the Off Site Payment Method was not configured properly” message. The Gateway response in EE is “Error occurred while trying to setup the Express Checkout.
“. I’ve spend several days on this so I decided to ask: should I be using developer.paypal.com or sandbox.paypal.com? Neither works and after digging through the Forums and Documentation I feel I have set both PayPal accounts up properly. I’d love some direction in getting this resolved. Thanks!


Josh

  • Support Staff

January 26, 2017 at 8:30 am

Hi John,

The short answer is you use both. This is because you create a sandbox account on developer.paypal.com. Then, once you have a sandbox account set up, you locate the API credentials in the sandbox account. Here’s a link to PayPal’s documentation that steps through creating a new Sandbox test account:

https://developer.paypal.com/docs/classic/lifecycle/sb_create-accounts/

Once you have a sandbox test account, you can get credentials from the developer site by clicking on Sandbox > Accounts, then you click on the account, then you click on Profile > API Credentials. There you’ll get the Classic TEST API Credentials that you can use in Event Espresso’s payment settings.

Also important: When you use sandbox credentials, you’ll need to set “Debug Mode On?” to Yes in the Event Espresso payment settings.


John Christenbury

January 26, 2017 at 8:48 am

Josh, thanks for the response. I’ve been through the steps outlined in your response and I am getting the same error. I even created a new Sandbox Business Account. I am using a development server that does NOT have a SSL on it, could this be an issue? It’s a Bluehost server, FWIW. If I purchased a support token, could


Josh

  • Support Staff

January 26, 2017 at 9:47 am

There could be an issue with the server if it has an older version of OpenSSL, in which case you can try adding this code to the site:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/payment-methods/ee-force-tlsv1-tlsv2-for-paypal.php

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.

Also, you can get more details from the API calls to PayPal by going to Event Espresso > Payments Methods > Logs. There may be a specific error code there.


John Christenbury

January 26, 2017 at 10:43 am

Josh, I have added the code as a plugin, doesn’t seem to help. I checked the Logs and all I get is “Error occurred while trying to setup the Express Checkout.”. Also, all of my attempts to register are doubled up. I am attaching some screenshots, maybe someone can see something I am missing. Also, is this something that could be resolved with a Support Token? Thanks!

TXN Detail: https://cl.ly/2q3R1D11171M
Doubled up: https://cl.ly/0m1f0m0n1M2a


Josh

  • Support Staff

January 26, 2017 at 10:57 am

If it’s a server issue, then it’s not something we can resolve with a support token. What we could do is try some of our sandbox credentials on your site to see if those work. If our sandbox credentials work, then that would indicate that something isn’t right with the credentials you tried.


John Christenbury

January 26, 2017 at 10:58 am

Josh, what is the best way to get you credentials so that you guys can do that?


Josh

  • Support Staff

January 26, 2017 at 11:36 am

There’s a form on this page:

https://eventespresso.com/send-login-details/

As an aside, your screenshot of the Logs isn’t showing anything out of the ordinary. There should be at least two API calls per transaction, so there isn’t any “doubling up” going on there.


John Christenbury

January 26, 2017 at 1:30 pm

Thats good to know that those are supposed to show up. Credentials have been sent.


Josh

  • Support Staff

January 26, 2017 at 2:18 pm

OK so there’s a very specific error message being logged in Event Espresso > Payments Methods > Logs. For example, if you click on log ID 56, you’ll see this:

http_request_failed	
cURL error 35: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure

You can contact Bluehost support and let them know about the above error and they should know what to do from there.


John Christenbury

January 26, 2017 at 5:21 pm

Josh, wow, I didn’t even know there was more info about the error. I really appreciate your time and knowledge. I will get on with my host about this.

Thank you!


John Christenbury

January 26, 2017 at 6:28 pm

Josh, Bluehost is saying it’s not on their end. Is there anymore information I can give them to help them figure out the issue? They say they updated PHP and updated permissions. Thanks!


John Christenbury

January 30, 2017 at 9:30 am

Josh, Bluehost wasn’t exactly helpful in the matter. I did clone the site to another development server and it worked right away. I appreciate your time in helping me with this issue. Thanks!


Josh

  • Support Staff

January 31, 2017 at 2:25 pm

You’re welcome, and there’s more information about what PayPal requires here:

https://devblog.paypal.com/upcoming-security-changes-notice/

The support post ‘developer.paypal.com or sandbox.paypal.com?’ 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