• Resolved bradleysp

    (@bradleysp)


    Since the release of 1.0.19 I’m seeing errors with PayPal payments. We have disabled the Country checkout field since we opened the shop, but since Tuesday we get

    [error] => Array
            (
                [name] => INVALID_REQUEST
                [message] => Request is not well-formed, syntactically incorrect, or violates schema.
                [debug_id] => 9fda8667bd608
                [details] => Array
                    (
                        [0] => Array
                            (
                                [field] => /shipping/address/country_code
                                [value] => 
                                [location] => body
                                [issue] => INVALID_STRING_LENGTH
                                [description] => The value of a field is either too short or too long.
                            )
    
                        [1] => Array
                            (
                                [field] => /shipping/address/country_code
                                [value] => 
                                [location] => body
                                [issue] => INVALID_PARAMETER_SYNTAX
                                [description] => The value of a field does not conform to the expected format.
                            )
    
                    )

    If I re-enable the country code field the payment goes through.

    In addition, I cannot now process a PayPal refund. I get the following error.

    2023-01-12T20:40:11+00:00 INFO Error processing refund. Reason: 
    2023-01-12T20:51:03+00:00 ERROR API error: Array
    (
        [url] => https://api-m.paypal.com/v2/checkout/orders
        [method] => GET
        [request] => 
        [error] => 
    )

    Any ideas?

Viewing 1 replies (of 1 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @bradleysp

    Not changes were made to the logic of how payments or refunds are processed. The country field is required by PayPal’s API. The default country set in your WooCommerce > General Settings should be used as the default.

    I’d check to see if you have a plugin that’s filtering the WooCommerce default country value.

    You can use our contact us page if you want use to take a closer look.

    Kind Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Issues with 1.0.19?’ is closed to new replies.