Support » Plugin: WooCommerce PayPal Payments » Sandbox working Live platorm is not

  • Resolved premcompsdc

    (@premcompsdc)


    Hello, we need some help, I cannot find a solution to our problem.

    We have a PayPal business account based in the UK, where purchases can only be made in the UK and Eire. We have successfully processed test transactions using sandbox, everything seemlessly works, however when we deactivated sandbox and made our site live, we tried to process a small transaction (£1) and we get this error: Sorry, your bank wasn’t able to confirm your VISA x-XXXX (omitted last 4) at this time. Please choose another way to pay.

    On looking at the logs, I see the following:

    2022-05-02T10:15:50+00:00 ERROR Webhook verification failed.
    2022-05-02T10:15:51+00:00 DEBUG POST https://api.paypal.com/v1/notifications/verify-webhook-signature
    Request Body: {"transmission_id":"4867b930-c995-11ec-bc3b-712138f266f7","transmission_time":"2022-05-01T21:25:54Z","cert_url":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/certs\/CERT-360caa42-fca2a594-5a29e601","auth_algo":"SHA256withRSA","transmission_sig":"DUq2q5B9SAYF+ucVX8CFSgfkhXG\/ETYXM0ppB3spGns5EGxESNdl+sT9rDLTG6R025c1VflqciH53TGEbXtYbLSkrHdsw90Z9UuWSQaIaKWyJpyzHW\/e4xjmdiBfvFZUjA\/\/U5oTJDAXAaUhh+CL9o2pGElfg2DNYFwcH1aYEfYWQvNzfTrY3MIgDLTdpHEgoVs8fosu\/MhJKR2rfklgcZoe0wDQCCGBd3VQHrjLBHL448GMcpv\/q77gCmRBdBBTCkJqo2IhbqMqU4XYVeYH+a92hDNYZr9t8660zl6Wr2msqEKnHLHTTs4qcQj+BJSduWsKgJY8conJyAQAC\/2Vwg==","webhook_id":"7WH07477CS9901604","webhook_event":{"id":"WH-41X68103WT835554Y-0D814805VJ919730B","event_version":"1.0","create_time":"2022-05-01T21:25:50.238Z","resource_type":"capture","resource_version":"2.0","event_type":"PAYMENT.CAPTURE.COMPLETED","summary":"Payment completed for GBP 1.0 GBP","resource":{"amount":{"value":"1.00","currency_code":"GBP"},"seller_protection":{"dispute_categories":["ITEM_NOT_RECEIVED","UNAUTHORIZED_TRANSACTION"],"status":"ELIGIBLE"},"supplementary_data":{"related_ids":{"order_id":"80N42719RD480943W"}},"update_time":"2022-05-01T21:25:45Z","create_time":"2022-05-01T21:25:45Z","final_capture":true,"seller_receivable_breakdown":{"paypal_fee":{"value":"0.23","currency_code":"GBP"},"gross_amount":{"value":"1.00","currency_code":"GBP"},"net_amount":{"value":"0.77","currency_code":"GBP"}},"custom_id":"89207","invoice_id":"eccbdb-41454","links":[{"method":"GET","rel":"self","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/86G025923U111720H"},{"method":"POST","rel":"refund","href":"https:\/\/api.sandbox.paypal.com\/v2\/payments\/captures\/86G025923U111720H\/refund"},{"method":"GET","rel":"up","href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/80N42719RD480943W"}],"id":"86G025923U111720H","status":"COMPLETED"},"links":[{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-41X68103WT835554Y-0D814805VJ919730B","rel":"self","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v1\/notifications\/webhooks-events\/WH-41X68103WT835554Y-0D814805VJ919730B\/resend","rel":"resend","method":"POST"}]}}
    Response Debug ID: 88d095ee56f83
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-05-02T10:15:51+00:00 ERROR Webhook verification failed.

    I used the wizard to setup the plugin and we are close to going live, if this issue was resolved. Can someone please help?

    Many thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Inpsyde Niklas

    (@niklasinpsyde)

    Hi @premcompsdc,

    Could you please try resubscribing the webhooks?: https://woocommerce.com/document/woocommerce-paypal-payments/#webhook-status
    When it’s working in sandbox mode but not in live, it’s usually more likely to be an issue with the payment method or the PayPal account.
    I suggest reaching out to the PayPal MTS with this log entry so they can have a look at it as well.

    The error sounds like it’s coming from the default credit card smart button. Have you given it a try with the PayPal Card Processing?: https://woocommerce.com/document/woocommerce-paypal-payments/#paypal-card-processing-acdc
    Thanks!

    Kind regards,
    Niklas

    Thread Starter premcompsdc

    (@premcompsdc)

    Hello Niklas, and thanks for your reply. I have tried resubscribing a couple times and even logged into developer at PayPal and simulated with succeess a webhook for completed transaction, both with success, the PayPal webhook plugin notified success receive. Albeit took quite a few seconds.

    I have reached out to MTS and I will try your suggestion with PayPal Card Processing and will report my result.

    Thanks for your time!

    Thread Starter premcompsdc

    (@premcompsdc)

    Hello again, Niklas – I seem to be making a change somewhere… I had pay later enabled, I disabled it and enabled vaulting, which was already enabled in our business account as we have good approval; I used “credit cards” by using my own debit card, and I got this error in the log Please note I have removed my personal data as noted below:

    2022-05-02T19:32:05+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
    Request Body: {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","amount":{"currency_code":"GBP","value":"1.00","breakdown":{"item_total":{"currency_code":"GBP","value":"1.00"},"shipping":{"currency_code":"GBP","value":"0.00"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"cashhhhhh","unit_amount":{"currency_code":"GBP","value":"1.00"},"quantity":1,"description":"","sku":"","category":"PHYSICAL_GOODS","tax":{"currency_code":"GBP","value":"0.00"}}],"payee":{"merchant_id":"REMOVED SENSITIVE MERCHANT ID"},"shipping":{"name":{"full_name":"
    
    ((((( REMOVED SENSITIVE PERSONAL DATA - ADDRESS NAME ETC))))))
    
    "}}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"GET_FROM_FILE","landing_page":"LOGIN","locale":"en-GB","brand_name":"premcomps","return_url":"https:\/\/REMOVED DOMAIN NAME.com\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/REMOVED DOMAIN NAME.com\/checkout\/"},"payer":{"name":{"given_name": 
    
    ((((((( REMOVED SENSITIVE PERSONAL DATA))))))
    
    ,"payment_method":{"payee_preferred":"IMMEDIATE_PAYMENT_REQUIRED","payer_selected":"PAYPAL"}}
    Response Debug ID: a76187012f0e4
    Response: Array
    (
        [code] => 201
        [message] => Created
    )
    
    2022-05-02T19:32:09+00:00 DEBUG  https://api.paypal.com/v2/checkout/orders/7T87587496822092U
    Response Debug ID: 164ee9e177186
    Response: Array
    (
        [code] => 200
        [message] => OK
    )
    
    2022-05-02T19:32:09+00:00 INFO 3DS authentication result: Array
    (
        [liability_shift] => NO
        [three_d_secure] => Array
            (
                [enrollment_status] => 
                [authentication_status] => 
            )
    
    )
    
    2022-05-02T19:32:09+00:00 ERROR Order approve failed: Something went wrong. Please try again.

    Thanks for any further assistance!

    Kind regards

    • This reply was modified 3 months, 1 week ago by premcompsdc.
    Plugin Support Inpsyde Niklas

    (@niklasinpsyde)

    Hi @premcompsdc,

    It seems like the card did not pass the 3D Secure v2 check.
    In the PayPal Card Processing settings tab, different 3D Secure behaviors can be configured like Always or When required.
    Could you give it a try with When required if this was not yet set or alternatively with No 3D Secure?
    Thanks!

    Kind regards,
    Niklas

    Plugin Support Joost van de Vijver

    (@joostvandevijver)

    Hello,

    It has been quite some time since our last communication, so we will mark this thread as resolved. Please open a new thread if you are still facing issues or have questions that you need us to answer.

    Kind regards,
    Joost

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.