UNSUPPORTED_ENTRY_METHOD Error during tokenization
-
Hello,
We recently came across the issue with GooglePay and ApplePay payments when tokenization attempted on the customer’s card.
One of our customers is using square and our one-click upsells plugin, in one click upsell plugin we run create_token() to tokenize the user but in the case of digital wallets, the call fails with this response.
03-07-2021 @ 20:53:42 - Request method: uri: createCustomerCardWithHttpInfo/A73PQYJN48RC36Q5R234TFAFKM user-agent: WooCommerce-Square/2.3.4 (WooCommerce/5.0.0; WordPress/5.6.2) headers: Array ( ) body: { "card_nonce": "cnon:CBESEHC-U3EKDEU6F7rOpGTLiMA", "billing_address": { "address_line_1": "908 Hilltop Drive", "address_line_2": "", "locality": "Walpole", "administrative_district_level_1": "MA", "postal_code": "02081", "country": "US", "first_name": "Selwyn", "last_name": "D Bodley", "organization": "" }, "cardholder_name": "Selwyn D Bodley" } duration: 0.45511s 03-07-2021 @ 20:53:42 - Response code: 400 message: headers: Array ( [0] => HTTP/1.1 400 Bad Request [Content-Type] => application/json [Square-Version] => 2019-08-14 [Vary] => Origin, Accept-Encoding [X-Content-Type-Options] => nosniff [X-Download-Options] => noopen [X-Frame-Options] => SAMEORIGIN [X-Permitted-Cross-Domain-Policies] => none [X-Xss-Protection] => 1; mode=block [Date] => Mon, 08 Mar 2021 01:53:42 GMT [Content-Length] => 160 [Strict-Transport-Security] => max-age=631152000; includeSubDomains; preload ) body: Array ( [errors] => Array ( [0] => stdClass Object ( [category] => PAYMENT_METHOD_ERROR [code] => UNSUPPORTED_ENTRY_METHOD [detail] => CustomerCard cannot be created with nonce generated by Google Pay. ) ) )
Could you explain what this message exactly means?
If Digital wallets don't support tokenizations then how these methods are compatible with WooCommerce subscriptions?We have also unable to find any order meta or session flag which could tell us that this payment is made using digital wallets so that woofunnels could prevent tokenization in this case.
Let me know if we can add order meta before we start processing payment through digital wallets.Thanks
- The topic ‘UNSUPPORTED_ENTRY_METHOD Error during tokenization’ is closed to new replies.