PayPal Payment Gateway Stopped Working

WordPress Business Themes Forums Responsive Themes Directory Theme PayPal Payment Gateway Stopped Working

Discontinued - The forum content is out of date. For theme support please use our support desk here.

PayPal Payment Gateway Stopped Working

November 23, 2018
Adam Adam
  • Adam
    Adam
    Newbie 45 points

    When a user tries to make a payment for their listing, the “Make Payment” button takes you to Paypal and displays:
    “Things don’t appear to be working at the moment. Please try again later.”

    This was working for the last few years but has suddenly stopped working – any ideas?

    Thanks in advance!

    November 23, 2018 at 6:08 pm
  • Alex Morgan
    Alex Morgan
    Super Guru 1,110 points

    hi Adam,

    what version of the theme are you using?

    November 26, 2018 at 9:56 am
  • Adam
    Adam
    Newbie 45 points

    Version 8.9.7 which I understand is the latest version.

    November 26, 2018 at 11:29 am
  • Mark Fail
    Mark Fail
    Super Guru 12,814 points

    Nothing has changed in the code, have you checked your paypal account hasn’t been restricted?

    November 26, 2018 at 2:03 pm

  • Thomas
    Newbie 9 points

    Hi all;

    I just installed a fresh WP v5.0.3 and Dating theme v9.2.5. I have had the same problem with standard Paypal checkout:

    Things don’t appear to be working at the moment. Please try again later.

    I found the answer in Paypal help. I’ll just paste the whole support article here:

    PayPal has updated to a new, streamlined checkout experience. When your customer checks out, PayPal's checkout window displays the transaction amount and asks how to proceed:
    
        If the customer wants to pay with funds from their PayPal account, they enter their PayPal account user ID and password and clicks Log In. (To remain logged in with OneTouch, the customer can also click on the OneTouch check box.)
        If the customer prefers to use a different payment method, they click Pay with Debit or Credit card.
    
    
    Most integrations work with this new PayPal checkout automatically. However, some integrations have issues that cause the user experience to fail. Some of the most common reasons for failed validation checks are:
    
        Passing currency symbols ("$", "£", etc.) or values other than integers (1, 2, 3, etc.) and decimal points (“.”) in the amount field. For example, "1234.50" is correct, but "$1,234.50" isn't allowed.
        Passing country code values greater than two letters. For example, "FR" is correct, but "France" or "fr_FR" isn't allowed.
        Passing more than 127 characters in the item_number field. For example, don't use the item_number field for "Note to Buyer" information.
        Passing more than 64 characters in the option fields (on0, on1, etc.).
        Passing duplicate empty parameters.
        Passing address_override=1 without passing an address.
    
    Solution
    This error may occur only for certain transactions. If you have many items for sale, only some may exceed character limitations or pass invalid values as part of the transactions. You should test all available options to identify which ones lead to an error message. Once you find the affected transactions, review the HTML Variables for PayPal Payments Standard to troubleshoot your integration.
    
        The original author or web developer who created your page with PayPal checkout buttons may be the best person to investigate and resolve these problems. Please contact them if they're available.
        If you use third-party shopping cart software, such as a hosted shopping cart or software that you installed on your web server, the developer of that software may need to correct a problem in their code. Contact your cart provider directly and have them review this guide.
        For websites that use static HTML, examine your HTML directly to see if there are problems in the values being directed to PayPal. For example, in the following code, the value of the amount field is "$1,000.00," which contains invalid "," and "$" symbols. It should be updated to "1000.00."
         
    
        <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
           <input type="hidden" name="cmd" value="_xclick">
           <input type="hidden" name="business" value="PayPalMerchant@example.com">
           <input type="hidden" name="item_name" value="Widget">
           <input type="hidden" name="amount" value="$1,000.00"> <--Problem: Remove currency symbol and comma ("1000.00")
           <input type="hidden" name="currency_code" value="USD">
           <input type="submit" value="Old PayPal checkout">
        </form>
    
        For more complex websites, such as those that use JavaScript or server-side software before redirecting the customer to PayPal, you may need to log the variables sent to PayPal. You can do this in your own code, or you can try using a browser tool, such as Google Chrome.
    
        Here’s how:
    
        Go to Developer Tools > Network, clear the log, and enable the Preserve Log option.
        Click a page action that would redirect a customer from your site to PayPal.com. If this opens a second window, you may need to enable Preserve Log in that window and then go back and redo the same page action in the original window.
        Once you have a list of events, look for the first event named webscr, select it, then check the section titled Form Data. 
    
    February 13, 2019 at 6:31 pm

  • Thomas
    Newbie 9 points

    Digging deeper…

    I read through the Paypal Developers pages for basic HTML variables. The solution [for me] is to make sure you have the correct values in each field

    Currency Code is a 3 digit code, Language is a 2 digit code and…. is a required field for Canada (CA)

    After I set these correctly the Paypal gateway worked.

    February 13, 2019 at 7:07 pm

  • George
    Newbie 26 points

    Edited: Never mind. I found the settings, but it did not resolve my problem.

    Hi Thomas,
    I am having the same issue. Where did you make the changes to Currency Code and Language?
    thanks!

    June 13, 2019 at 5:50 am
Viewing 7 posts - 1 through 7 (of 7 total)

Didn't find what you were after?

Chat with us now

or contact our support team