Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sjscott

    (@sjscott)

    No problem. I did roll back to an earlier version of Avalara Avatax as that was giving some issues, and I was able to get a test order through, but these are what the latest logs show even for the one I got through:

    2023-06-13T02:01:39+00:00 ERROR Error creating PayPal order. Msg:Request is not well-formed, syntactically incorrect, or violates schema. Params: Array
    
    (
    
        [intent] => 
    
        [payer] => Array
    
            (
    
                [name] => Array
    
                    (
    
                        [given_name] => removed manually for data privacy
    
                        [surname] => removed manually for data privacy
    
                    )
    
                [address] => Array
    
                    (
    
                        [address_line_1] => removed manually for data privacy
    
                        [address_line_2] => 
    
                        [admin_area_1] => removed manually for data privacy
    
                        [admin_area_2] => removed manually for data privacy
    
                        [postal_code] => removed manually for data privacy
    
                        [country_code] => removed manually for data privacy
    
                    )
    
                [email_address] => removed manually for data privacy
    
            )
    
        [purchase_units] => Array
    
            (
    
                [0] => Array
    
                    (
    
                        [amount] => Array
    
                            (
    
                                [value] => 17.23
    
                                [currency_code] => USD
    
                                [breakdown] => Array
    
                                    (
    
                                        [item_total] => Array
    
                                            (
    
                                                [currency_code] => USD
    
                                                [value] => 11.90
    
                                            )
    
                                        [shipping] => Array
    
                                            (
    
                                                [currency_code] => USD
    
                                                [value] => 3.87
    
                                            )
    
                                        [tax_total] => Array
    
                                            (
    
                                                [value] => 1.46
    
                                                [currency_code] => USD
    
                                            )
    
                                        [discount] => Array
    
                                            (
    
                                                [value] => 0.00
    
                                                [currency_code] => USD
    
                                            )
    
                                        [handling] => Array
    
                                            (
    
                                                [currency_code] => USD
    
                                                [value] => 0.00
    
                                            )
    
                                    )
    
                            )
    
                        [items] => Array
    
                            (
    
                                [0] => Array
    
                                    (
    
                                        [name] => Stringjoy Signatures | Balanced Light Gauge (10-48) Nickel Wound Electric Guitar Strings
    
                                        [quantity] => 1
    
                                        [unit_amount] => Array
    
                                            (
    
                                                [currency_code] => USD
    
                                                [value] => 11.90
    
                                            )
    
                                        [sku] => SJ-BAL10
    
                                        [description] => Product ID: 950
    
                                    )
    
                            )
    
                        [shipping] => Array
    
                            (
    
                                [name] => Array
    
                                    (
    
                                        [full_name] => removed manually for data privacy                                )
    
                                [address] => Array
    
                                    (
    
                                        [address_line_1] => removed manually for data privacy
    
                                        [address_line_2] => 
    
                                        [admin_area_1] => removed manually for data privacy
    
                                        [admin_area_2] => removed manually for data privacy
    
                                        [postal_code] => removed manually for data privacy
    
                                        [country_code] => removed manually for data privacy
    
                                    )
    
                            )
    
                    )
    
            )
    
        [application_context] => Array
    
            (
    
                [shipping_preference] => GET_FROM_FILE
    
                [return_url] => https://stringjoy.com/wc-api/ppcp_checkout_return/?_checkoutnonce=12a3d278dc
    
                [cancel_url] => https://stringjoy.com/checkout/
    
                [brand_name] => Stringjoy
    
            )
    
    )
    
    2023-06-13T02:05:12+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED
    
    2023-06-13T02:05:18+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED
    
    2023-06-13T02:07:32+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.REFUNDED
    
    2023-06-13T02:09:51+00:00 ERROR API error: Array
    
    (
    
        [url] => https://api-m.paypal.com/v2/checkout/orders/0KE07677XS129374Y/capture
    
        [method] => POST
    
        [http_status] => 422
    
        [request] => Array
    
    (
    
        [payment_source] => PaymentPlugins\PayPalSDK\PaymentSource Object
    
            (
    
                [_values:protected] => Array
    
                    (
    
                        [token] => PaymentPlugins\PayPalSDK\Token Object
    
                            (
    
                                [_values:protected] => Array
    
                                    (
    
                                        [id] => B-20523387P93922149
    
                                        [type] => BILLING_AGREEMENT
    
                                    )
    
                                [mappings:protected] => Array
    
                                    (
    
                                    )
    
                                [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
    
                                [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
    
                            )
    
                    )
    
                [mappings:protected] => Array
    
                    (
    
                    )
    
                [index:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
    
                [patchRequest:PaymentPlugins\PayPalSDK\AbstractObject:private] => 
    
            )
    
    )
    
        [error] => Array
    
            (
    
                [name] => UNPROCESSABLE_ENTITY
    
                [details] => Array
    
                    (
    
                        [0] => Array
    
                            (
    
                                [issue] => TRANSACTION_REFUSED
    
                                [description] => The request was refused
    
                            )
    
                    )
    
                [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
    
                [debug_id] => f8e41a54eb35b
    
                [links] => Array
    
                    (
    
                        [0] => Array
    
                            (
    
                                [href] => https://developer.paypal.com/docs/api/orders/v2/#error-TRANSACTION_REFUSED
    
                                [rel] => information_link
    
                                [method] => GET
    
                            )
    
                    )
    
            )
    
    )
    Thread Starter sjscott

    (@sjscott)

    Upon further investigation, I can also say that all Subscription renewal payments that process through PayPal are now returning the error “The request was refused” and not renewing.

    Both of these issues just started today, this plugin, Woocommerce, and all relevant plugins are all currently up to date.

    PS: the Support option from within the plugin is also returning the error “There was an error processing your request. Please try again later.”

Viewing 2 replies - 1 through 2 (of 2 total)