• Resolved miketurner01

    (@miketurner01)


    Having moved my testing, sandbox, system to 1.7.0, I am still getting “Something went wrong. Please try again or choose another payment source.” This was using one of the testing Visa card numbers – 4012 8888 8888 1881.

    Here is the log file entry:-

    2022-03-01T13:36:45+00:00 DEBUG POST https://api.sandbox.paypal.com/v1/identity/generate-token
    Request Body: {"customer_id":"TEST-e5de1d612e126"}
    Response Debug ID: 230f02fd21741
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-03-01T13:38:00+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":"25.20","breakdown":{"item_total":{"currency_code":"GBP","value":"22.00"},"shipping":{"currency_code":"GBP","value":"3.20"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Sweat Shirt - XXL, Red","unit_amount":{"currency_code":"GBP","value":"22.00"},"quantity":1,"description":"","sku":"Sweat Shirt","category":"PHYSICAL_GOODS","tax":{"currency_code":"GBP","value":"0.00"}}],"payee":{"merchant_id":"FZ7FXKKLVVKG8"},"shipping":{"name":{"full_name":" "},"address":{"country_code":"GB","address_line_1":"66 Manor Road","admin_area_2":"Martlesham Heath","postal_code":"i"}}}],"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","admin_area_2":"Martlesham Heath","postal_code":"IP5 3SY"}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
    Response Debug ID: f2d90a64801bb
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-03-01T13:38:01+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":"25.20","breakdown":{"item_total":{"currency_code":"GBP","value":"22.00"},"shipping":{"currency_code":"GBP","value":"3.20"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"Sweat Shirt - XXL, Red","unit_amount":{"currency_code":"GBP","value":"22.00"},"quantity":1,"description":"","sku":"Sweat Shirt","category":"PHYSICAL_GOODS","tax":{"currency_code":"GBP","value":"0.00"}}],"payee":{"merchant_id":"FZ7FXKKLVVKG8"},"shipping":{"name":{"full_name":" "},"address":{"country_code":"GB","address_line_1":"66 Manor Road","admin_area_2":"Martlesham Heath","postal_code":"i"}}}],"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","admin_area_2":"Martlesham Heath","postal_code":"IP5 3SY"}},"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
    Response Debug ID: 5ba244c8cab6d
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-03-01T13:38:19+00:00 DEBUG  https://api.sandbox.paypal.com/v2/checkout/orders/8LB42657YX1414644
    Response Debug ID: 8e21e829054f5
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-03-01T13:38:19+00:00 INFO 3DS authentication result: Array
    (
        [liability_shift] => NO
        [three_d_secure] => Array
            (
                [enrollment_status] => 
                [authentication_status] => 
            )
    
    )
    
    2022-03-01T13:38:19+00:00 ERROR Order approve failed: Something went wrong. Please try again.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @miketurner01,

    This would be the expected result when your 3D Secure contingency is set to “Always trigger 3D Secure” as this card does not support 3DS v2. Card payments will be rejected if 3D Secure v2 cannot trigger. You can use the other 3DS contingencies to see how the behavior changes.

    The PayPal documentation may be outdated in that regard and the cards from the generator can’t simulate 3DS v2.
    But these cards can be used to test a positive 3DS v2 scenario with the PayPal Card Processing: 4020024518402084 & 5232106671708398
    More details can be found in the new documentation here: https://woocommerce.com/document/woocommerce-paypal-payments/#section-19

    We are working on further improving the error messaging around declined card payments, but I hope that makes it a bit more clear.

    Kind regards,
    Niklas

    Thread Starter miketurner01

    (@miketurner01)

    Thanks, Niklas.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Something went wrong” on credit card payment with 1.7.0’ is closed to new replies.