Support

Home Forums Event Espresso Premium PayPal Pro payment gateway keeps declining payments

PayPal Pro payment gateway keeps declining payments

Posted: July 2, 2014 at 10:27 am

Viewing 16 reply threads


Eric Biboso

July 2, 2014 at 10:27 am

Hi

I have PayPal Pro Payment Gateway setup and currently using the live api credentials. When I make test payments they keep getting declined. I have re generated the api creds 3 times now and have tried several different credit cards and no luck. Is there anything else I can do to get payments working? Do I need to contact PayPal? Also, this is a new PayPal Pro account.


Sidney Harrell

July 2, 2014 at 11:08 am

Have you tried running test transactions using the paypal sandbox and a set of sandbox credentials? You also might want to check uploads/espresso/logs/espresso_log.txt for the declined payments, to see if there is a more verbose error message. I believe with new accounts you have to go into the account on the paypal site and agree to a merchant agreement before paypal pro will start working.


Eric Biboso

July 2, 2014 at 12:42 pm

I did test with sandbox creds and i checked the logs and there is no espresso_log.txt file. I will check the paypal account side of things but I’m almost 100% positive that it is setup properly to accept payments.


Lorenzo Orlando Caum

  • Support Staff

July 2, 2014 at 2:39 pm

Hi Eric,

There was a member that was experiencing this issue some time ago –current software and the correct credentials.

We discovered that there was a firewall setup that was blocking the PayPal Pro servers.

Adding these as exceptions helped but PayPal regular introduces new IP address ranges:

https://ppmts.custhelp.com/app/answers/detail/a_id/92


Lorenzo


Josh

  • Support Staff

July 2, 2014 at 2:40 pm

Hi Eric,

You’ll want to contact PayPal and ensure that your account is set up to process Website Payments Pro transactions and that the billing agreement is accepted.

One other thing about the test mode: Live credentials only work in live mode. If you set “Use the Debugging Feature
and the PayPal Sandbox” to yes in the Event Espresso > Payment Methods settings then you’ll need to use sandbox credentials from a sandbox account.


Eric Biboso

July 7, 2014 at 11:48 am

hi Josh, thanks for the reply

I decided to switch to EE3. I have setup paypal payments pro in sandbox mode and attempted a couple of test payments and I am still not able to get it to work. i also put in the live API creds in to do a live test payment of $1 and that also did not work.

I also confirmed with paypal that the account is setup properly and is able to accept payments.

Any ideas on what I’m doing wrong or what I can do to troubleshoot this more?

thanks


Lorenzo Orlando Caum

  • Support Staff

July 7, 2014 at 12:11 pm

Hi Eric,

Could you check in your account to see if certain fields have been forced to required?

There is a similar issue with new Authorizenet accounts where a the company name field is required. However this isn’t a field that is used by Event Espresso.

It may look similar to this:

http://cl.ly/image/430P2b0n3k1i


Lorenzo


Eric Biboso

July 7, 2014 at 1:45 pm

I cant find a section like that in my paypal account. However, there is a paypal manager section that I have to log into separately and there were some fields for shipping that were checked to make them required. I disabled them and attempted another test payment and it’s still not working.

Also, now that i’ve switched to EE3, when I submit payment I get sent to the Thank You page (which is what I want), but the [ESPRESSO_THANK_YOU] shortcode is not showing any real content, I only see the shortcode.

I feel like i’m setting things up incorrectly, however when I switched to EE3 i did not add any questions, I simply setup one event and the registration form has only the default fields that automatically get added (First name, Last name and email). What I have explained is what happens after attempting to register.

I’d also like to add that i was on the phone with paypal support for a couple of hours today and they confirmed that the account is setup properly and I am using the correct API creds. The support person tried everything on his end but could not get it to work.


Lorenzo Orlando Caum

  • Support Staff

July 7, 2014 at 2:48 pm

There are four WordPress pages with shortcodes that are used by Event Espresso. They should not display the raw shortcode. Could you go to WP-admin –> Event Espresso –> General Settings and check these pages?

Here are what the defaults look like:

http://cl.ly/image/1z0B0W1a3n00

You may want to double-check that each page as the correct shortcode and has a status of published.

I also took another look at your notes here:

https://eventespresso.com/topic/paypal-pro-payment-gateway-keeps-declining-payments/#post-105915

When you are testing in live mode, is the PayPal sandbox/testing option turned off in Event Espresso payment settings?

The sandbox/testing options requires a different set of credentials to work.

Could you double-check that it is set to live mode with sandbox off. Next, please regenerate your API credentials through your PayPal account:

https://developer.paypal.com/docs/classic/api/apiCredentials/#creating-and-managing-classic-api-credentials

Then copy and paste these into the payment settings page and save changes. Be careful of extra spacing before and after the credentials.

Then try registering again.


Lorenzo


Eric Biboso

July 7, 2014 at 3:24 pm

Sandbox mode was definitely not checked when I had the live api creds entered in. I have used EE before on another site of mine and have it working just fine. Also, when I did have the sandbox creds entered in I also made sure that the sandbox mode was checked.

I also triple checked that there were no spaces before or after any of the api fields. Then I have regenerated the api creds 4 separate times now. The paypal support person I spoke with had me check all of these things when I was on the phone with him for several hours this morning.

The four WordPress pages that have shortcodes are published and have the correct shortcode in them. As for the Thank You page in particular, I have not touched this page at all after installing the plugin. The current way that it is setup as of now, is the way it was setup after installation. The only thing I did was set the Auto Return URL setting to the Thank You page exactly the way it is in you screenshot.

I would like to mention again that this is 3rd site I have setup with EE and I’ve never had problems like this before in setting up the payment gateway. I went through the site I am currently working on and set it up almost exactly the same way I have the other sites working.


Eric Biboso

July 7, 2014 at 3:37 pm

hi Lorenzo, I finally was able to make a successful test payment. Finally it’s working!

However, I am still not able to get the [ESPRESSO_THANK_YOU] shortcode to display properly. My Thank You Page still shows the shortcode only.


Lorenzo Orlando Caum

  • Support Staff

July 7, 2014 at 3:39 pm

Hi,

Is this site hosted on the same server as the other sites where PayPal Pro is working?

On one of my earlier responses, I shared some feedback on a firewall blocking the access to the PayPal Pro servers:

https://eventespresso.com/topic/paypal-pro-payment-gateway-keeps-declining-payments/#post-105178

Typically when PayPal doesn’t work its one of these issues:

+ Required fields on the account level that Event Espresso does not collect
+ Billing agreement – AMEX requires a separate billing agreement
+ Firewall blocking PayPal servers
+ Live credentials on testing/sandbox mode


Lorenzo


Eric Biboso

July 7, 2014 at 3:43 pm

Yes, all of the sites are hosted on a dedicated server with rackspace.

I figured out that it was related to required fields being check in the paypal manager section of the account.

I still cant get the [ESPRESSO_THANK_YOU] shortcode to work properly, should I start a new ticket or are you able to help me troubleshoot that?

Thanks for sticking with me on this.


Lorenzo Orlando Caum

  • Support Staff

July 8, 2014 at 10:06 am

Could you go to that page in WordPress pages and copy the shortcode, then move the page to the trash and then permanently delete it.

Then create the page again (same slug) and paste the shortcode in and save changes.

From there, go to General Settings –> Page Settings and be sure that the page is selected and save changes.

Let us know if this helps.


Lorenzo


Eric Biboso

July 10, 2014 at 1:32 pm

Hi Lorenzo

I have deleted the original Thank You Page and re added the [ESPRESSO__THANK_YOU] shortcode and made sure that the page settings has the new thank you page selected and I still cant get the shortcode to work.

In the General Settings -> Page Settings section I noticed it says to make sure that the [ESPRESSO_PAYMENTS] shortcode is on that page. I changed it to have that shortcode and I still cant get any the content to show.

Any other ideas?

thanks


Lorenzo Orlando Caum

  • Support Staff

July 10, 2014 at 7:42 pm

Hi there,

Could you please create a temporary WordPress admin login so we can take a closer look at this issue?

Please share that temporary login through the secure link below:

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

To prevent delays in troubleshooting, be sure to double check your information on the form before submitting.

The submit button for the form appears after you have answered “Yes” to the last question.

Thank you.


Lorenzo


Eric Biboso

July 11, 2014 at 10:04 am

I got it to work! Somehow it just magically started working, not sure how but its now showing the correct content.

Thanks for all your help

Viewing 16 reply threads

The support post ‘PayPal Pro payment gateway keeps declining payments’ 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