Posted: December 18, 2012 at 8:01 pm
|
Hi, Just upgraded to 3.1.29.1.P and suddenly payment processing through STRIPE is being declined because its being submitted as a $0 charge. Here’s the log from STRIPE: > Parsed Request POST Body Here’s the entry from the espresso_log.txt: > [ 2012-12-18 21:42:10 ] payment_page.php -> event_espresso_pay No customizations have been made to espresso, and this was working previously. Please advise, thanks.
|
|
Hi There, Need support in resolving this issue. Thank you, |
Hello Vinicius, Sorry for the delay. You may have outdated gateway files. Look for any files and folders in wp-content/uploads/espresso/gateways. You can rename this directory to /gatewaysOLD. If you had made customizations to the previous version’s gateway files, these can be re-made with the new gateway files. |
|
|
Hi, I looked there but there are no files in that directory. Vinnie |
|
Per your request: 1) Are there files in /wp-content/uploads/espresso/templates -or- /wp-content/uploads/espresso/gateways? No, those directories exist but are empty. 2) If so, what files are there No files there. 3) Please let us know which add-ons are installed and which version numbers for each of them. Please see attached XLS here. |
|
I looked a bit further on this, and I believe its a PHP bug where the $ amount value is not being passed correctly. I temporarily edited the “do_transaction.php located under wp-content/plugins/event-espresso/gateways/stripe directory. Can someone tell me if the following line (which invokes the transaction against STRIPE is correct? $response = $cls_stripe->do_transaction($payment_data[‘total_cost’], $cc, $csc, $exp_month, $exp_year, $bname, $line_item); It seems to be its missing something, as the amount value is not being passed to STRIPE. See the stripe log error below associated with the POST: > card: name: “Vinnie Lima” exp_month: “12” exp_year: “2012” cvc: “***” The problem to me seems to be with the: $payment_data[‘total_cost’]; Variable, not carrying forward the correct value? Any help appreciated, thanks. Vinnie |
Hi Vinnie, Can you update to the current version of the Groupon/Social coupons add-on and let us know if that does not resolve this for you? |
|
|
Hi Josh, I would, but I can’t auto update (another thread about this)……. Vinnie |
Hi Vinnie, You can manually update the Groupon add-on by deactivating it, then delete it. Then you can download the new version from your account page Then you can install from the WordPress plugin installer. If you’d prefer to use the automatic update, you’ll need to deactivate the Groupon add-on, log into the site via FTP and rename the espresso-groupon folder in wp-content/plugins to espresso-groupons, then reactivate. After you reactivate, you’ll receive an auto update notification for the groupon add-on. |
|
|
OK I’ve updated all of the plug ins, and just tested STRIPE and same problem – $0 charge attempted which then is denied by stripe. I need this resolved asap…. |
Hi Vinnie, I tried to look at your site and run a test registration in order to rule out what may be causing this, but the Stripe gateway was deactivated. The older version of Groupon installed would have affected the total_cost variable, and by updating to the latest version of Groupon that would have resolved that issue. Did you change the code you modified back to its original state? Another thing to check is if you have the Members add-on installed and active, make sure that there is a price set for members (not $0). I’m running the same version of Event Espresso on my dev site with the Stripe gateway, and it is passing the correct dollar amount to Stripe when I run a test transaction, so I’m at a loss on why this is happening only on your site. Is it possible for you to activate Stripe and set Stripe into test mode ( you’ll need to swap in test credentials in Event Espresso>payment settings and set the account to use test mode ) temporarily so we can run a test registration? If you’re interested in running through a test registration on my dev site where this is working, I have the Stripe gateway activated here. You can use 4242424242424242 as the test cc number when running the test. |
|
|
Hi Josh, I’ve updated to the latest version of Groupon addon (1.5.2) and validated that all of our events have the same price for both public and members. I’ve activated the stripe payment with my dev keys so you can test. I’ve been testing it the same way you’ve been (using the test credit card). The problem is not stripe, the problem is something with the variable total_cost. Either its not being carried correctly or the call to stripe is not in the right order (or missing a var?). Any case, thanks for looking into this. Merry Christmas. Vinnie |
Hi Vinnie, The latest version of the Groupon add-on is actually 1.5.3. Groupon 1.5.2 is not compatible with Event Espresso 3.1.29.1 because it used a different method to calculate $total_cost, among other things. Can you please update to the new version (1.5.3)? Here are step by step instructions for updating the Groupon add-on: 1) The Groupon add-on needs to be deactivated and deleted before updating. This can be done from the WordPress plugin manager page. 2) You can download the new version from your account page. It is labeled “Groupon Integration 1.5.3” 3) You can install from the WordPress plugin installer page by clicking Add New, then Upload, and select the zip file that you just downloaded. After the plugin installs, it will give you an option to activate it with one click. |
|
|
It worked!!!! That was it, the groupon add on was one version behind! Thank you! |
The support post ‘no results… (44)’ 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.