Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ck765765

    (@ck765765)

    @wpmudev-support7
    Thank you for your response.
    I apologize for the delayed reply.

    I created a new form and tested it again, but unfortunately, the error still occurs.
    The website itself is built using Elementor, and I am displaying the Forminator form via a shortcode. Could that be one of the causes?

    ──────────

    @wpmudev-support2
    Thank you for the code snippet.

    After implementing the code as an mu-plugin, the PayPal error was resolved, and I was able to proceed with the transaction with the correct amount.
    I would like to continue using this code for the time being.

    ──────────

    Your help was greatly appreciated. Thank you so much.
    I am grateful for your thorough support.

    Thread Starter ck765765

    (@ck765765)

    Thank you for your response.

    I have checked to ensure the plugin is up to date and removed the additional code from the mu-plugin. I also adjusted the settings to avoid using commas in the calculation for {calculation-1}.

    After clearing the cache and testing again, I encountered an issue where, after clicking the “PayPal Checkout” button, the error message appeared a few seconds later, without opening a new window.
    When I checked the API logs on PayPal, it seems that the value is still being processed with a comma attached.
    Below is a part of the PayPal API log results.

    Status:400
    Description:Request is not well-formed, syntactically incorrect, or violates schema.

    "purchase_units": [
    {
    "amount": {
    "currency_code": "JPY",
    "value": "1,500"
    }
    }
    ],

    The test payment on Stripe worked without any issues. I also checked the Stripe logs, and the values without commas were processed correctly.

    • This reply was modified 6 months, 3 weeks ago by ck765765.
Viewing 2 replies - 1 through 2 (of 2 total)