Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter miketurner01

    (@miketurner01)

    Hello.

    I’ve just upgraded my staging website from version 2.5.2 to version 2.5.3, and the problem appears to have gone away.

    Well done!

    Mike.

    Thread Starter miketurner01

    (@miketurner01)

    I’ve opened a private engagement, as you suggested, but the problem still hasn’t been resolved.

    Mike.

    Thread Starter miketurner01

    (@miketurner01)

    I’ve cloned my testing website, deactivated all plugins except Woocommerce and Woocommerce PayPal Payments, and used Storefront theme. I still get the problem.

    In this testing, though, I have discovered a couple of new things:-

    1. The problem doesn’t occur after entering the first character of the postcode – only the second or subsequent characters.
    2. If I fill in the credit card details before entering the postcode, they are cleared when the postcode characters are entered.

    Best wishes,

    Mike.

    Thread Starter miketurner01

    (@miketurner01)

    Thanks, Joost.

    Yes – when I say “Loss Of Focus”, I mean that the cursor is no longer in the field, and the field is no longer selected. I have to click on the field again before I can continue typing.

    I’ll have a look at conflict testing, and see what I can do.

    Mike.

    Thread Starter miketurner01

    (@miketurner01)

    This appears to have been cured with 1.8.1.

    Thank you.

    Thread Starter miketurner01

    (@miketurner01)

    I can reproduce this problem at will quite easily. The important thing is that the refund has to be less than half of the total, otherwise the refund is rejected. I have even managed to get it to generate two extra refunds if the requested refund is less than a third of the total.

    As I said (a lot) earlier, I am quite happy to be of any help that I can.

    Thread Starter miketurner01

    (@miketurner01)

    Thanks, Niklas.

    That makes it a lot clearer. I am happy, now.

    Thread Starter miketurner01

    (@miketurner01)

    Thanks, Niklas.

    It seems better, now.

    Sorry for troubling you.

    • This reply was modified 3 years, 2 months ago by miketurner01.
    Thread Starter miketurner01

    (@miketurner01)

    I can now sign on to my PayPal sandbox account, so perhaps it was a PayPal problem.

    However, I now sometimes get “Something went wrong. Please try again or choose another payment source.”

    Here’s a log entry for one of those:-

    
    2021-12-14T15:57:19+00:00 DEBUG GET https://api.sandbox.paypal.com/v2/vault/payment-tokens/?customer_id=TEST-4
    Response Debug ID: 654d6956208f7
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2021-12-14T15:57:21+00:00 DEBUG GET https://api.sandbox.paypal.com/v2/vault/payment-tokens/?customer_id=TEST-4
    Response Debug ID: 53ff2b924be4b
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2021-12-14T15:57:21+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"TEST-4"}
    Response Debug ID: 59d3cec2739cc
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2021-12-14T15:57:36+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"12.50","breakdown":{"item_total":{"currency_code":"GBP","value":"10.00"},"shipping":{"currency_code":"GBP","value":"2.50"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"2022 Clan Line Calendar","unit_amount":{"currency_code":"GBP","value":"10.00"},"quantity":1,"description":"2022 Clan Line calendar featuring photographs of Merchant Navy class locomotive Clan Line, no. 35028.","sku":"","category":"PHYSICAL_GOODS","tax":{"currency_code":"GBP","value":"0.00"}}],"payee":{"merchant_id":"FZ7FXKKLVVKG8"},"shipping":{"name":{"full_name":"Mike Turner"},"address":{"country_code":"GB","address_line_1":"66 Manor Road","address_line_2":"","admin_area_1":"","admin_area_2":"Martlesham Heath","postal_code":"IP5 3SY"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"en-GB","brand_name":"Clan Line Testing","return_url":"https:\/\/test3.mike-turner.uk\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/test3.mike-turner.uk\/checkout\/"},"payer":{"name":{"given_name":"Mike","surname":"Turner"},"email_address":"[email protected]","address":{"country_code":"GB","address_line_1":"66 Manor Road","address_line_2":"","admin_area_1":"","admin_area_2":"Martlesham Heath","postal_code":"IP5 3SY"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"01473626209"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
    Response Debug ID: 5ed845c54ed09
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2021-12-14T15:57:37+00:00 DEBUG POST https://api.sandbox.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"12.50","breakdown":{"item_total":{"currency_code":"GBP","value":"10.00"},"shipping":{"currency_code":"GBP","value":"2.50"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"2022 Clan Line Calendar","unit_amount":{"currency_code":"GBP","value":"10.00"},"quantity":1,"description":"2022 Clan Line calendar featuring photographs of Merchant Navy class locomotive Clan Line, no. 35028.","sku":"","category":"PHYSICAL_GOODS","tax":{"currency_code":"GBP","value":"0.00"}}],"payee":{"merchant_id":"FZ7FXKKLVVKG8"},"shipping":{"name":{"full_name":"Mike Turner"},"address":{"country_code":"GB","address_line_1":"66 Manor Road","address_line_2":"","admin_area_1":"","admin_area_2":"Martlesham Heath","postal_code":"IP5 3SY"}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"SET_PROVIDED_ADDRESS","landing_page":"LOGIN","locale":"en-GB","brand_name":"Clan Line Testing","return_url":"https:\/\/test3.mike-turner.uk\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/test3.mike-turner.uk\/checkout\/"},"payer":{"name":{"given_name":"Mike","surname":"Turner"},"email_address":"[email protected]","address":{"country_code":"GB","address_line_1":"66 Manor Road","address_line_2":"","admin_area_1":"","admin_area_2":"Martlesham Heath","postal_code":"IP5 3SY"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"01473626209"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
    Response Debug ID: 9480504cbdb26
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2021-12-14T15:57:40+00:00 DEBUG  https://api.sandbox.paypal.com/v2/checkout/orders/0TT58342ES031732V
    Response Debug ID: 7e66f6c9860d9
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2021-12-14T15:57:40+00:00 ERROR Order 0TT58342ES031732V is not approved yet.
    2021-12-14T15:57:40+00:00 ERROR Order approve failed: Order 0TT58342ES031732V is not approved yet.
    2021-12-14T16:00:50+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/billing-agreements/agreement-tokens
    Request Body: {"description":"Checking if reference transactions are enabled","payer":{"payment_method":"PAYPAL"},"plan":{"type":"MERCHANT_INITIATED_BILLING","merchant_preferences":{"return_url":"https:\/\/example.com\/return","cancel_url":"https:\/\/example.com\/cancel","skip_shipping_address":true}}}
    Response Debug ID: 561b702228ecf
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    
    Thread Starter miketurner01

    (@miketurner01)

    The error occurs when I attempt to log in to PayPal sandbox.

    It says:-

    503 Service Temporarily Unavailable

    Avi Vantage/

    Of course, it may be a PayPal sandbox problem, but it seems a coincidence that it should occur just after updating to your latest plugin.

    • This reply was modified 3 years, 2 months ago by miketurner01.
    Thread Starter miketurner01

    (@miketurner01)

    Hello Joost.

    Just to be sure, I followed your advice, and deactivated all plugins, except WooCommerce and this one, and went back to the Twenty Twenty-One theme. I still had the problem.

    I am quite happy to be contacted by your people, if you want any more information, or any tests.

    In he meantime, I’ll keep investigating, and let you know if I discover anything that might be useful.

    Mike.

    Thread Starter miketurner01

    (@miketurner01)

    Thank you, Joost.
    I must point out that this does not happen every time, but I haven’t, yet, found a pattern. Also, I have no proof that it only affects partial refunds.
    In answer to your questions:-
    1)The email is duplicated, as is the refund entry on the order in WooCommerce Admin, but the PayPal account entry is not duplicated.
    2)The Sandbox PayPal account indicates that the refunds are done correctly.
    3)It also happens when using Card Processing, but I can’t check that the refund only occurs once.
    If you want any more information, then please ask.
    Mike.

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