• Resolved acelobos9

    (@acelobos9)


    I have installed the plugin without any issues. I’ve added both the Live and Test Keys.
    But the CreditCard fields are not loading on the checkout page. It’s just loading forever.
    I got this error on the console log.

    Uncaught TypeError: Cannot read property 'map' of undefined
    paymongo-client.js?ver=5.4.2:78 

    on this line of code:

    PaymongoClient.prototype.parseErrors = function (e, errors, callback) {
            const errorMessages = errors.map(({ detail, sub_code }) => {
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Cynder

    (@cynderpaymongo)

    Hi @acelobos9, could you check the Network tab of your browser console when this error happens? Try to find any erroneous requests being made and check for the details there.

    Thanks.

    We have the same problem.

    Under Network console Status Code return 400

    Request URL: https://api.paymongo.com/v1/payment_methods
    Request Method: POST
    Status Code: 400 
    Thread Starter acelobos9

    (@acelobos9)

    Hey @cynderpaymongo it sends an unlimited API requests on the network tab. Its continuously sending requests…I’ve got more than 1k requests.

    Request URL: https://api.paymongo.com/v1/payment_methods
    Request Method: POST
    Status Code: 200
    Remote Address: 52.76.43.245:443
    Referrer Policy: strict-origin-when-cross-origin

    :authority: api.paymongo.com
    :method: POST
    :path: /v1/payment_methods
    :scheme: https
    accept: application/json
    accept-encoding: gzip, deflate, br
    accept-language: en-US,en;q=0.9
    authorization: Basic cGtfdGVzdF9YZFVkcnJ1dU5VcjZoMVhOZEpOTDFqelA=
    content-length: 319
    content-type: application/json
    dnt: 1
    origin: https://enrollthames.tk
    referer: https://enrollthames.tk/
    sec-fetch-dest: empty
    sec-fetch-mode: cors
    sec-fetch-site: cross-site
    user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36

    {“data”:{“attributes”:{“type”:”card”,”details”:{“card_number”:”4404520000001439″,”exp_month”:2,”exp_year”:22,”cvc”:”123″},”billing”:{“address”:{“line1″:”35 Sanja Mayor”,”line2″:””,”city”:”Tanza”,”state”:”CAV”,”country”:”PH”,”postal_code”:”4108″},”name”:”Ace Lobos”,”email”:”[email protected]”,”phone”:”9173079001″}}}}

    Plugin Author Cynder

    (@cynderpaymongo)

    Fixed released for this. Kindly update your version of the plugin. Thanks.

    Plugin Author Cynder

    (@cynderpaymongo)

    Hi @acelobos9, we would appreciate some feedback if you’ve already managed to test the plugin with the latest version.

    Thanks.

    Thread Starter acelobos9

    (@acelobos9)

    Hey @cynderpaymongo issue was resolved! Kudos to the team~

    Plugin Author Cynder

    (@cynderpaymongo)

    Glad to help out. Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Infinite Paymongo Loading at Checkout’ is closed to new replies.