• Resolved 4m1l4

    (@4m1l4)


    Hello,

    In previous plugin versions I was able to create product (one time payment), and if I didn’t enter the price (leave it blank) it would allow customers to set arbitrary amounts for payment.

    I need an arbitrary amount because their invoices or bills are different, they don’t have a unique amount.

    From the newer version of the plugin, when I set the price field to empty, I get the following message:

    “Error occurred: Price validation failed. The submitted amount does not match the product’s configured price. Expected: 0, Submitted: X”

    Is it possible to use arbitrary price for products from now on?

    • This topic was modified 5 months, 3 weeks ago by 4m1l4. Reason: clarifying content
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reaching out to us. Please check the following forum post. Let me know if this helps you.

    https://www.ads-software.com/support/topic/invalid-payment-amount-received-expected-50-00-got-0-00/

    Kind regards.

    Thread Starter 4m1l4

    (@4m1l4)

    Hello there,
    Thanks for the link, unfortunately it didn’t help. I have tried so far:

    1. Checking the box “Do Not Use Stripe PHP SDK Library” as suggested in your shared post reply
    2. Disabling all plugins except Accept Stripe Payments (I have 4 plugins in total on this website)
    3. Switching to Twenty Twenty Four default WP theme
    4. Disabling caching

    Even with all of this described above, I still receive below error:
    “Error occurred: Price validation failed. The submitted amount does not match the product’s configured price. Expected: 0, Submitted: 5”

    Below is the result of the debug file:

    [06/06/2024 10:40:54 AM] - handle_create_pi() - Product ID: 209, Captcha Type: recaptcha, Txn Counter: 0, IP: xxx.xxx.xxxx [06/06/2024 10:40:54 AM] - Page load signature check done! [06/06/2024 10:40:54 AM] - Request usage count is valid for this IP addresss. IP: xxx.xxx.xxxx, Request Count: 1 [06/06/2024 10:40:54 AM] - FAILURE: Pre-API Submission validation amount mismatch. Expected amount (in cents): 0, Submitted amount (in cents): 500

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for providing the information above. This will help the developers investigate further your issue.

    Kind regards.

    Thread Starter 4m1l4

    (@4m1l4)

    Thank you, I have to mention this is happening on all websites where this plugin is installed. I have 5 websites more, on different hosting, and they all have the same behaviour.

    Plugin Author mra13

    (@mra13)

    Hi, Make sure to edit the product in question and set the product type to “donation” type product. The following documentation has the steps to create a product where the customer enters the amount:

    https://s-plugins.com/name-your-own-price-customer-specified-amount/

    If you created that product a very long time ago, try creating a new product now to test it out and see if you have any issues with the newly created product.

    Let me know if that helps.

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