• Resolved Adam W. Warner

    (@awarner20)


    We are using PayPal Website Payments Pro and have that set, along with our PayPal API creds and when testing a purchase (choosing “PayPal” rather than credit card), I am seeing this error after clicking the PayPal button.

    Using PMP v1.7.14

    You’ll notice a mention of PMP PayPal Express in the error, which we are not using. Also using SiteGround dedicated IP with SSL.

    Notice: Undefined index: PROFILEID in /home/aww/public_html/wp-content/plugins/paid-memberships-pro/classes/gateways/class.pmprogateway_paypalexpress.php on line 106

    Warning: Cannot modify header information – headers already sent by (output started at /home/aww/public_html/wp-content/plugins/paid-memberships-pro/classes/gateways/class.pmprogateway_paypalexpress.php:106) in /home/foomed/public_html/wp-includes/pluggable.php on line 1173

    As a note, we are using the same exact PayPal API creds on another site using EDD and have not had any issues.

    Can you think of anything to try in troubleshooting?

    I have not tried the credit card purchase yet so not sure if the same error pops up but will be doing that shortly.

    https://www.ads-software.com/plugins/paid-memberships-pro/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Adam W. Warner

    (@awarner20)

    Also just tried sandbox/testing mode with our PayPal Sandbox API creds and now get a “Security header is not valid” warning…

    Thread Starter Adam W. Warner

    (@awarner20)

    Update:

    Just went back to Live API Creds and tried a credit card payment and received this message:

    DPRP is disabled for this merchant.

    Googling that returns a blog post on PMP from 2012…
    https://www.paidmembershipspro.com/2012/03/paypal-dprp-is-disabled-for-this-client/

    Looks like I need to call PayPal first and get this enabled.

    Thread Starter Adam W. Warner

    (@awarner20)

    OK, called PayPal and here’s the update…

    They said this error happened because I selected “PayPal Website Payments Pro” in PMP and I should be selecting “PayPal Payflow/PayPal Pro” which I have done and have entered my Partner ID, Vendor, User, Password.

    Two Issues Persist:

    1. After running a credit card payment (with the same one I tested with previously when I had the wrong gateway selected in PMP), I got this error in PMP:

    Void error: ESJPC1DBA7D5 has already settled A partial payment was made that we could not refund. Please contact the site owner immediately to correct this.

    2. The PayPal support person asked me to enable PayPal Express also as this would save us on fees. However, in PMP it seems you can only select one or the other and not both.

    Related to this is after I selected PayPal Payflow/PayPal Pro and went to check out, I was only given the option to use a credit card at checkout and there was no mention of PayPal.

    What am I missing here??????

    Thread Starter Adam W. Warner

    (@awarner20)

    Wow, digging even deeper…

    I found this PMP Addon which SEEMS to be what I need to get the PayPal option on checkout when using PayPal Payflow/PayPal Pro as the main Payment Gateway selection.

    https://www.paidmembershipspro.com/add-ons/plugins-on-github/pmpro-add-paypal-express-option-checkout/

    Can you confirm?

    Plugin Author Jason Coleman

    (@strangerstudios)

    What we call “PayPal Website Payments Pro”, PayPal now calls “PayPal Website Payments Pro Legacy” and they don’t offer it to new customers anymore, but if you can talk a phone rep into allowing it on your account it is the most consistent way to integrate with PMPro.

    You can add PayPal Express as a 2nd option to PayPal Payflow Pro using this addong: https://www.paidmembershipspro.com/add-ons/plugins-on-github/pmpro-add-paypal-express-option-checkout/

    RE the “Void error: ESJPC1DBA7D5 has already settled…” error, this comes up if we are able to process the initial payment with Payflow but not the subscription. There is a separate “module” you need to add to Payflow to do recurring billing. I believe this is a separate from the module you need to add to do recurring billing with PayPal Express (the DPRP error) but maybe it’s the same thing.

    In either case, it would be something you need to get PayPal to enable for you. I’ve heard that this sometimes takes a few calls ??

    Thread Starter Adam W. Warner

    (@awarner20)

    Hi Jason, thanks for replying. I’d like to back up just a bit and summarize what I “should” be doing.

    Our account uses PayPal Payflow. I was told by the rep that we needed to select this option in order to do recurring billing (I assume then that this is enabled, but will call again to verify after some additional testing).

    So, our goal is to offer subscription payments and have users be able to choose credit card OR PayPal as their billing option. It seems in order to do this, I need to have PayPal Payflow selected as the gateway and then install the plugin we both linked to above in order to make PayPal Express an option.

    Our other option would be to ONLY allow subscriptions through PayPal and if we decided to do this, then we would simply choose PayPal Express and the payment gateway option in PMP.

    Does that sound correct?

    I’m going to install that plugin above and do some more testing. If I run into that Void error: again, I’ll give PayPal another call and ask them to verify that recurring billing module is activated in our PayPal Payflow settings.

    Am I slowly getting there? ??

    Thread Starter Adam W. Warner

    (@awarner20)

    Just added that plugin and tried the PayPal option during checkout and got an error again…

    Notice: Undefined index: PROFILEID in /home/aww/public_html/wp-content/plugins/paid-memberships-pro/classes/gateways/class.pmprogateway_paypalexpress.php on line 106

    Warning: Cannot modify header information – headers already sent by (output started at /home/aww/public_html/wp-content/plugins/paid-memberships-pro/classes/gateways/class.pmprogateway_paypalexpress.php:106) in /home/foomed/public_html/wp-includes/pluggable.php on line 1173

    Going to give PayPal a call to ensure recurring billing is setup…

    Thread Starter Adam W. Warner

    (@awarner20)

    Ok, getting closer…

    Spoke to a helpful rep. We had to activate recurring billing in our PayPal Payflow/Pro account (for an extra $10 per month on top of what we already pay).

    After this was done and made live on our account, I tried some payments with mixed success.

    1.) CC Test – I submitted a credit card payment and received this error:

    Notice: Use of undefined constant wp_login_url – assumed ‘wp_login_url’ in /home/aww/public_html/wp-content/plugins/pmpro-email-templates-addon/pmpro-email-templates.php on line 209

    Warning: Cannot modify header information – headers already sent by (output started at /home/aww/public_html/wp-content/plugins/pmpro-email-templates-addon/pmpro-email-templates.php:209) in /home/foomed/public_html/wp-includes/pluggable.php on line 1173

    But the payment was successful because I was logged in as that test member. I also verified the payment went through in our PayPal account.

    2.) PayPal Test – Using the plugin you suggested above.

    Clicking the PayPal button on the checkout page immediately showed an error and did not take me to PayPal.

    Notice: Undefined index: PROFILEID in /home/foomed/public_html/wp-content/plugins/paid-memberships-pro/classes/gateways/class.pmprogateway_paypalexpress.php on line 106

    Warning: Cannot modify header information – headers already sent by (output started at /home/aww/public_html/wp-content/plugins/paid-memberships-pro/classes/gateways/class.pmprogateway_paypalexpress.php:106) in /home/aww/public_html/wp-includes/pluggable.php on line 1173

    Do you have any further insight into these two errors?

    The first one seems to have something to do PMP email templates addon and the second with the paypal express option in PMP.

    Neither one seem to have anything to do with how our PayPal account is now setup.

    Thread Starter Adam W. Warner

    (@awarner20)

    Further troubleshooting…

    I have changed the payment gateway to PayPal Express and still get this error when clicking the PayPal button.

    Notice: Undefined index: PROFILEID in /home/aww/public_html/wp-content/plugins/paid-memberships-pro/classes/gateways/class.pmprogateway_paypalexpress.php on line 106

    Warning: Cannot modify header information – headers already sent by (output started at /home/aww/public_html/wp-content/plugins/paid-memberships-pro/classes/gateways/class.pmprogateway_paypalexpress.php:106) in /home/foomed/public_html/wp-includes/pluggable.php on line 1173

    Thread Starter Adam W. Warner

    (@awarner20)

    Troubleshooting Update:

    I am at a loss.

    I have deactivated all plugins, set it to PayPal Express (to take other things out of the loop), and I still get the error above.

    This site is on SiteGround, has SSL, and we do not have SuperCacher activated.

    I then installed PMP on a WP Engine site, only PMP active, PayPal Express and using the same exact credentials, and clicking the PayPal button actually takes you to PayPal.

    Commence further hair pulling…

    Plugin Author Jason Coleman

    (@strangerstudios)

    Adam, thanks for getting in touch with me last weekend to get these issues cleaned up. It seems your web host was setup with even more strict rules than my dev site and some PHP warnings were keeping things from redirecting during checkout. I’ve fixed them up on your site and have included those fixes in recent PMPro updates.

    Closing this thread, but please get in touch if you have any other issues.

    i am having same kinda issue, getting these errors…any help?

    Notice: Use of undefined constant wp_login_url – assumed ‘wp_login_url’ in /home/gettinmobile/public_html/wp-content/plugins/pmpro-email-templates-addon/pmpro-email-templates.php on line 209

    Notice: Undefined variable: temp_content in /home/gettinmobile/public_html/wp-content/plugins/pmpro-email-templates-addon/pmpro-email-templates.php on line 166

    Notice: Use of undefined constant wp_login_url – assumed ‘wp_login_url’ in public_html/wp-content/plugins/pmpro-email-templates-addon/pmpro-email-templates.php on line 209

    Notice: Undefined variable: temp_content in public_html/wp-content/plugins/pmpro-email-templates-addon/pmpro-email-templates.php on line 168

    Warning: Cannot modify header information – headers already sent by (output started at public_html/wp-content/plugins/pmpro-email-templates-addon/pmpro-email-templates.php:209) in public_html/wp-includes/pluggable.php on line 1121

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Error When Choosing PayPal’ is closed to new replies.