PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Paypal Pro - won't pass over Credit Card info

  1. jfulbrook
    Member

    Hi,
    I have a Paypal Pro account hooked up with my Gravity form, but every time I try and test it, I get an error "There was an error processing your request. Your credit card was not charged. Please try again.".
    It seems all is configured correctly with the SSL, and I have all the API details correct.
    Any tips on what might be holding things up?
    Cheers!

    Posted 11 years ago on Saturday August 4, 2012 | Permalink
  2. Are you using the sandbox or the production account? And can you post a screenshot of the error you're seeing? Can we test it and see the error for ourselves? Thanks.

    Posted 11 years ago on Saturday August 4, 2012 | Permalink
  3. jfulbrook
    Member

    Hey Chris,
    I'm using the Production account at the moment as I'm also in control of the connected Paypal account. If it switch it to Sandbox in Gforms, will in need to change something in the Paypal account for it to work also?
    So, here is a link to the problem page: https://jf85.co.uk/wfccn/donate. Like I said before, the error says "There was an error processing your request. Your credit card was not charged. Please try again." yet the CC is 100% functional. I have set-up Ajax validation, yet I get the the same error without Ajax too.
    Thanks so much for you help.

    Posted 11 years ago on Sunday August 5, 2012 | Permalink
  4. To use the sandbox, you will have an account and a user from PayPal, and the account email address will be the one configured in Gravity Forms, in addition to checking the box.

    Did you test this at all in the sandbox before, or did this form ever work?

    If you submit the form from the form preview, will it work correctly without this error?

    Posted 11 years ago on Monday August 6, 2012 | Permalink
  5. jfulbrook
    Member

    Hi Chris
    I have tried in the form preview in WP, and get the same identical error.
    There seems no reason for this - I have since tried with another reliable CC, and have the same error.
    I had not tested it in the sandbox previously - its only just been created, and therefore has not worked since creation.
    Any ideas?
    Thanks again!

    Posted 11 years ago on Tuesday August 7, 2012 | Permalink
  6. When you submit the form and get that error, view the source and search for that message. There should be an identifying error code of some kind from PayPal.

    Posted 11 years ago on Tuesday August 7, 2012 | Permalink
  7. I have exactly the same error on my site!

    i as well get:
    There was an error processing your request. Your credit card was not charged. Please try again.

    Error code is 10002 but no more message in the code, and looking at the paypal error codes it could be quite a few errors.

    https://fylli.skissa.nu/ here is my testform.

    Posted 11 years ago on Wednesday August 8, 2012 | Permalink
  8. Can you make sure you don't have live and sandbox mixed? And also, can you try requesting a new API key from PayPal and using that? The information on the Internet is all over the place, but with regard to error 10002, it seems like mixed sandbox and live mode can cause it, and sometimes requesting and using a new API key fixed the problem. Can you give that a try?

    Posted 11 years ago on Wednesday August 8, 2012 | Permalink
  9. I did request a new api key today, and tried with that. No luck.

    As for sandbox - i have not registered for sandbox but tried once or twice with sandbox enabled in settings but that did not work either.

    I can try to request a new api key once again and never click the sandbox radio in the settings - but i dont think it will help my cause.

    Thanks!

    Posted 11 years ago on Wednesday August 8, 2012 | Permalink
  10. Actually i got a new error:
    10565
    Merchant country unsupported
    The merchant country is not supported.

    What is this about?

    Posted 11 years ago on Wednesday August 8, 2012 | Permalink
  11. Website Payments Pro is available in the United States, Canada, and the United Kingdom.

    Source: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_WPWebsitePaymentsPro#id25a6cc16-bbc4-4070-a575-9fad358f2b95

    Posted 11 years ago on Wednesday August 8, 2012 | Permalink
  12. I'm also having the same problem, but I am using sandbox and definitely have it set up correctly. I think the problem may be that I am trying to use both the PayPal and PayPal Pro add-ons at the same time. PayPal Pro was working fine until I also enabled the PayPal add-on.

    I have a single form that will conditionally submit to PayPal or process credit card data via PayPal Pro based on the payment option chosen in the form. PayPal works fine, but PayPal Pro gives the "There was an error processing your request. Your credit card was not charged. Please try again." message.

    Could this be it? I'm going to try to look at the Gravity Forms code that processes PayPal myself to see what is going on.

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  13. Just modified paypalpro.php to print_r the $response from PayPal when the error occurs - the response is:

    Array ( [TIMESTAMP] => 2012-08-21T18:19:13Z [CORRELATIONID] => eaf282cf711e9 [ACK] => Failure [VERSION] => 52.0 [BUILD] => 3516191 [L_ERRORCODE0] => 11586 [L_SHORTMESSAGE0] => DPRP is disabled. [L_LONGMESSAGE0] => DPRP is disabled for this merchant. [L_SEVERITYCODE0] => Error )

    So my guess is that if PayPal standard is used on a PayPal Pro account then DPRP (Direct Payment Recurring Payments) are disabled?

    Also note that "you cannot test WPP within the sandbox using a Canadian account". This may also be my problem.

    more info here: https://www.x.com/developers/paypal/forums/paypal-sandbox/dprp-disabled-merchant-invalid-merchant-configuration

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  14. It looks like the problem was with the accounts - I had to make sure both the buyer and the seller were US accounts (and of course the seller has to have DPRP enabled).

    Unfortunately even though the credit card payments are submitting successfully the form entry's "Payment Status" and "Payment Amount" is blank. Also the buyer and seller PayPal accounts are not debited / credited as they should be. No IPN's exist.

    To summarize - PayPal standard works (IPN updates and all), but if the "Credit Card" option is chosen which routes the form through PayPal Pro then it appears to work but in fact no action is taken on the PayPal side, and the payment fields in the Gravity Forms entry are left blank.

    Posted 11 years ago on Tuesday August 21, 2012 | Permalink
  15. Ok - ID10T error here - the PayPal Pro entry for the form was removed - that's why it submitted with no Payment Status, etc. I've added it back in and now get the "There was an error processing your request. Your credit card was not charged. Please try again."

    Hmmm...

    Posted 11 years ago on Thursday August 23, 2012 | Permalink
  16. When you get that error, view the source and see if any PayPal error codes are in the source. They are usually near or around the credit card field.

    Posted 11 years ago on Thursday August 23, 2012 | Permalink
  17. Yeah - it's 10501. According to PayPal's API Error Codes page this means:

    10501 Invalid Configuration - This transaction cannot be processed due to an invalid merchant configuration. Occurs when the billing agreement is disabled or inactive.

    I'm convinced that PayPal's sandbox system is wonky. The seller account is definitely set up properly. Anyhow I'm going to continue my development - which centers around Gravity Forms as the payment mechanism - and try it with a production account later on.

    PS - The error codes are displayed as an HTML comment immediately prior to the error message in the credit card field as per code in paypalprop.php:

    $message = __("<!-- Payment Error: " . $code . " -->There was an error processing your request. Your credit card was not charged. Please try again.", "gravityforms");

    Posted 11 years ago on Thursday August 23, 2012 | Permalink
  18. Testing with "live" PayPal Pro is working - this seems to be an issue with PayPal Sandbox.

    Just saw this post from Sep 4, 2012:

    http://www.gravityhelp.com/forums/topic/paypal-pro-error

    "My issue was down to PayPal Sandbox - you need to contact the PP Dev forums and ask for help setting up the correct test account in Sandbox.
    Bit long winded but that's what's needed. :p"

    Posted 11 years ago on Monday September 10, 2012 | Permalink

This topic has been resolved and has been closed to new replies.