This is my scenario, I have a website where 118 villas are rented, to be exact, these villas have an ACf Pro field that is a repeater where many rates are managed depending on the dates of the year, these villas belong to 3 different companies so I only want to generate 3 forms to embed them in the corresponding villas. The point is that the payment needs to be made using gravity form and stripe applying the authorize-only, now the core part of the conflict comes in that the user when selecting the date range has to call an ajax method that goes and searches for said date range to the ACF PRo repeater and brings back the amount for example 24000 which would be 6 nights, the problem comes in how we tell gravity form that that is the amount that stripe is going to charge, currently we have everything configured with the stripe sandbox we put a product widget and a total widget we try with javascript to feed the total but when sending the form it gives us an error Submitted value ($ 24,000.00) does not match expected value ($ 0.00). and here the other detail is that the charge should not be made immediately but should be authorized later manually, the authorize hook has already been installed in the function.php of the child theme in wordpress. Can anyone provide a guide to resolve this detail?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Submitted value (x) does not match expected value ($0.00) | 6 | 87 | March 16, 2025 | |
Stripe says Gravity Forms is imposing a payment ceiling(?) | 4 | 375 | June 28, 2023 | |
Total Field: "Submitted value ($XX.79) does not match expected value ($XX.78) | 2 | 247 | August 14, 2024 | |
Submitted value ($ 1.00 CAD) does not match expected value ($ 0.00 CAD) | 2 | 130 | January 28, 2025 | |
Submitted value ($0.00) does not match expected value ($XX.XX) | 2 | 163 | January 10, 2025 |