Posted: December 18, 2016 at 5:17 pm
|
We’ve had this issue for a long while, and could not resolve it using any methods suggested on previous support forum posts. Event Espresso version 3.1.37.11.P Here are the steps: This same transaction when processed by PayPal is correctly charged $1 BUT: We have confirmed that caching (WP Rocket) is disabled on the following: |
Hi Brad, Can you link us to an event we can use to view this one please? |
|
|
Sure! Here’s the URL to the test event: |
|
Note: We have also encountered a problem with USAePay when applying a % discount amount, whereby the customers bank account is charged 1/2 the amount of the discount (e.g. if the discounted amount is supposed to be $3, the customers bank account is debited $1.50). You can test using the save50 discount code, which is supposed to discount the amount by 50%. |
Hi Brad, I ran a few test registrations on your site, and checked the hidden inputs that get sent to USAEpay, and those amounts are correct: Screenshot of $6 ticket – $5 discount = $1.00 total amount Screenshot of $6 ticket – 50% discount = $3.00 total amount Those amounts should be what’s getting processed as payments on USAepay’s end, but you can check with them to see if any other amounts are being added after the billing form is sent. With PayPal, if you refresh the Thank you page after a brief moment, does the payment information update to be correct? |
|
|
I’ll follow-up with USAePay to see what they are getting on their end. When no discount code is involved the payments go through as expected and the correct amount is charged to the credit card. As for PayPal, if I wait a few seconds and refresh the page, the correct values and status are shown. Example: |
The PayPal IPN is slow. So what you could do is add a message to the Thank You page that instructs PayPal payers to refresh the page if the payment hasn’t posted to your website yet. |
|
|
Here’s what USAePay is showing when looking at the transaction details on their end: Even though in the transaction description appended to the bottom of the report, it shows: |
Your ticket price isn’t even $9.00, so no idea why USAEpay is getting that amount. You might try clearing your browser’s cache, then test the registration again. You can inspect the Pay with credit card button to check the inputs that get sent to USAepay while you’re testing to make sure the input fields are correct. |
|
|
Tried a completely different browser with cache cleared. Same results: Payment Type: USAePay Actual amount charged = $4 |
Did you happen to inspect the payment form’s html to see what was set for the amount hidden input value? |
|
|
The value is: <input name=”amount” type=”hidden” value=”1.00″> BUT, i’m not sure how/where any of the rest of the info such as the description is getting passed to USAePay. It does not appear in the form’s HTML anywhere as far as I can tell. |
Hi Brad, We had a look into the USAePay gateway and believe we have found the problem when using promo codes. The gateway has been updated and the changes are currently up for review however if you would like to test the updated version its available here: Place the usaepay_onsite folder within /wp-content/uploads/espresso/gateways/ EE will use the ‘custom’ version from that location in place of the original. The changes to the gateway basically remove the promotion code from being sent to USAePay. |
|
|
That’s seems to have fixed the problem! I’ve tested both a $5 discount code, and a 50% discount code and the amount debited to the account is now correct. I appreciate you driving this to a resolution. That’s what customer support is all about! |
Great, I’m glad it’s working correctly now and thank you for keeping us updated. As long as no additional issues are found during review/testing this will be included in the next update to EE3. |
|
Event Espresso 3.1.37.12 was released today and it includes a fix for the issue you reported here. |
|
The support post ‘Discount Codes Values Not Correct When Processed by USAePay Module.’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.