• Resolved getyourmobi

    (@getyourmobi)


    I recently updated a woocommerce store we manage and attempted a test payment using a Mastercard debit card.

    When the modal opened up, it got stuck on the spinner and didn’t proceed past this point. I could see through inspect element that a message was meant to appear saying payment isn’t working right now, please try again later or use a different payment source

    I tried checking out with a paypal account and this worked fine.

    I have since rolled back the website, however the problem is persisting

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @getyourmobi,

    From the plugin perspective, it doesn’t matter what type of card you use, especially when using the black Standard Card Button. When a card payment fails, the problem is most likely either on PayPal’s or the bank’s side.

    If no WooCommerce order was created, your best chance at figuring out the issue would be to enable Logging in the Connection tab of the plugin settings and then share your plugin log files with the support team after a payment attempt failed.

    If a failed WooCommerce order is created, please share a screenshot of the order notes with us. Thanks!

    Kind regards,
    Niklas

    Thread Starter getyourmobi

    (@getyourmobi)

    Thank you for your response,

    I have attempted another payment and it failed in the same way. A woocommerce order has not been created and the logs for the transaction are below

    2023-07-04T13:50:10+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: 17cbb2a659d56
    Response: Array
    (
    [code] => 200
    [message] => OK
    ) 2023-07-04T13:50:11+00:00 DEBUG GET https://api.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/FJG9R7LFQXV9A
    Response Debug ID: 7828aceca93ec
    Response: Array
    (
    [code] => 200
    [message] => OK
    ) 2023-07-04T13:50:11+00:00 DEBUG GET https://api.paypal.com/v1/customer/partners/K8SKZ36LQBWXJ/merchant-integrations/FJG9R7LFQXV9A
    Response Debug ID: 39727d92e7561
    Response: Array
    (
    [code] => 200
    [message] => OK
    ) 2023-07-04T13:50:12+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks
    Response Debug ID: d792ff4c41b2d
    Response: Array
    (
    [code] => 200
    [message] => OK
    ) 2023-07-04T13:51:49+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":"0.01","breakdown":{"item_total":{"currency_code":"GBP","value":"0.01"},"shipping":{"currency_code":"GBP","value":"0.00"},"tax_total":{"currency_code":"GBP","value":"0.00"}}},"description":"","items":[{"name":"test","unit_amount":{"currency_code":"GBP","value":"0.01"},"quantity":1,"description":"","sku":"","category":"DIGITAL_GOODS"}],"payee":{"merchant_id":"FJG9R7LFQXV9A"}}],"application_context":{"user_action":"CONTINUE","shipping_preference":"NO_SHIPPING","landing_page":"LOGIN","locale":"en-US","brand_name":"Witney Stained Glass","return_url":"https:\/\/witneystainedglass.co.uk\/?wc-ajax=ppc-return-url","cancel_url":"https:\/\/witneystainedglass.co.uk\/checkout.html"},"payer":{"email_address":"[email protected]","name":{"given_name":"Leo","surname":"OMara"},"address":{"country_code":"GB","address_line_1":"55 Grayrigg Drive","admin_area_1":"Lancashire","admin_area_2":"Morecambe","postal_code":"LA44UJ"},"phone":{"phone_type":"HOME","phone_number":{"national_number":"44152463087"}}},"payment_method":{"payee_preferred":"UNRESTRICTED","payer_selected":"PAYPAL"}}
    Response Debug ID: a46de4bf03e9a
    Response: Array
    (
    [code] => 201
    [message] => Created
    ) 2023-07-04T13:52:34+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks
    Response Debug ID: 61360073b2a76
    Response: Array
    (
    [code] => 200
    [message] => OK
    ) 2023-07-04T13:52:35+00:00 DEBUG GET https://api.paypal.com/v1/notifications/webhooks
    Response Debug ID: dbd90974eeef9
    Response: Array
    (
    [code] => 200
    [message] => OK
    )
    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @getyourmobi

    Thanks for sharing the log.

    This contains no errors, only a successful API request to the orders endpoint. Since there isn’t any obvious failure on the plugin level, our recommendation would be to contact the PayPal Merchant Technical Support with this Debug ID: a46de4bf03e9a

    The Debug ID helps the technical PayPal support find this transaction in their system and potentially figure out why it “got stuck” before the payment was confirmed.
    If you cannot reproduce this behavior with a PayPal sandbox account connected and a card from the sandbox card generator, then I’m afraid only the PayPal MTS can judge where the problem could be.

    As a potential workaround when operating from a supported region, signing up for the Advanced Card Processing feature may provide more reliable card payments.

    I hope this helps!

    Kind regards,
    Niklas

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello?@getyourmobi

    I think this issue is related to an outage on the PayPal servers. PayPal already confirmed this outage on their status page.

    If you want to avoid your customer encountering this issue, you can disable the card payment option by going to the PayPal Payments settings page and find the option “Hide Funding Source(s)” under the tab “Standard Payments”. Here, you can add “Credit & debit cards” to hide the payment function until they resolved this issue.

    Another option is to activate the Advanced Card Processing payment method, which would replace the Standard Card Processing option and avoid this issue from occurring. This payment method is however not available in all countries. On this page, you can find out if you are eligible for this payment method.

    If you are looking for more details or join a discussion on this, I advise you to look here. Since there is nothing we (the plugin developer) can do to fix this, I will mark this thread as resolved.

    Kind regards,
    Joost

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Debit or Credit Card not working with Mastercard’ is closed to new replies.