Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › order won't go throuth with coupon – please help, going live today
- This topic has 11 replies, 3 voices, and was last updated 13 years, 2 months ago by admin.
-
AuthorPosts
-
September 1, 2011 at 5:42 pm #4205blazeinternetMember
As you can see by the logfile below
when I use the $50 coupon code below for a $54.99 priced item, my order dies,
it DOES get charged by authorize.net and
it DOES tell the customer that the order was a success,
but as you can see, no emails are sent and no link created for the email etc.
also, the product works when coupon is not used…
HELP, I WAS SUPPOSED TO GO LIVE TODAY AND the coupon is needed for us to go live…
thanks
[09/01/2011 5:34 PM] – SUCCESS :Handling payment data from: authorize
[09/01/2011 5:34 PM] – SUCCESS :Retrieving order details… Key: 4e5fxxxxxxf27 Gateway: authorize
[09/01/2011 5:34 PM] – SUCCESS :Retrieved Item Details: 2|Protect The Name – 3 Step System|1|4.99||coupon=iwanttopay199
[09/01/2011 5:34 PM] – SUCCESS :Item Number: 2
[09/01/2011 5:34 PM] – SUCCESS :Item Name: Protect The Name – 3 Step System
[09/01/2011 5:34 PM] – SUCCESS :Item Quantity: 1
[09/01/2011 5:34 PM] – SUCCESS :Item Total: 4.99
[09/01/2011 5:34 PM] – SUCCESS :Item Currency: USD
[09/01/2011 5:34 PM] – SUCCESS :Coupon Code Used : iwanttopay199
[09/01/2011 5:34 PM] – FAILURE :Wrong Product Price Detected. Actual Product Price : 54.99
[09/01/2011 5:34 PM] – FAILURE :Paid Product Price : 4.99
[09/01/2011 5:34 PM] – SUCCESS :gateway=authorize, custom=coupon=iwanttopay199, txn_id=3832400722, txn_type=auth_capture, transaction_subject=This transaction has been approved., first_name=fred, last_name=xxxxxxxxxxxx, payer_email=bo@blaze.net, num_cart_items=, subscr_id=4e5fc200b8f27, address=4xxxxxxxxxxxxxxxxxxxx07, , phone=, coupon_used=iwanttopay199, eMember_username=, mc_gross=4.99, 0=Array,
September 2, 2011 at 12:22 am #36093adminKeymasterHow much discount does the “iwanttopay199” coupon give?
September 2, 2011 at 5:06 pm #36094blazeinternetMember$50
September 2, 2011 at 5:07 pm #36095blazeinternetMembereverything is correct here
the item was 54.99
the coupon was 50
the total is 4.99
it says incorrect but this is all correct
9/01/2011 5:34 PM] – SUCCESS :Item Total: 4.99
[09/01/2011 5:34 PM] – SUCCESS :Item Currency: USD
[09/01/2011 5:34 PM] – SUCCESS :Coupon Code Used : iwanttopay199
[09/01/2011 5:34 PM] – FAILURE :Wrong Product Price Detected. Actual Product Price : 54.99
[09/01/2011 5:34 PM] – FAILURE :Paid Product Price : 4.99
September 3, 2011 at 2:07 am #36096adminKeymasterI have added some more debug around this post payment coupon check area that should reveal what is going on.
Please get a new build of the plugin from here then do another test transaction and share the debug:
September 3, 2011 at 6:18 pm #36097blazeinternetMemberInteresting
it’s better but not fixed
this time it DID register in the customer database, where before it did not
however neither the email to the customer or the email to me, the administrator was sent.
as you can see below, there is still one failure in the log
also interesting
while I was waiting for approval, I got an error saying that the proper address wasn’t included for google analytics, but I”m thinking that might have something to do with my upgrading the plugin, I”ll look into that.
[09/03/2011 6:00 PM] – SUCCESS :eStore post payment processing script invoked
[09/03/2011 6:00 PM] – SUCCESS :Handling payment data from: authorize
[09/03/2011 6:00 PM] – SUCCESS :Retrieving order details… Key: 4e626ae6dca90 Gateway: authorize
[09/03/2011 6:00 PM] – SUCCESS :Retrieved Item Details: 2|Protect The Name – 3 Step System|1|149||coupon=iwanttopay199&ip=173.70.87.90
[09/03/2011 6:00 PM] – SUCCESS :Order Received… verifying payment data.
[09/03/2011 6:00 PM] – SUCCESS :Performing post payment processing tasks.
[09/03/2011 6:00 PM] – SUCCESS :Item Number: 2
[09/03/2011 6:00 PM] – SUCCESS :Item Name: Protect The Name – 3 Step System
[09/03/2011 6:00 PM] – SUCCESS :Item Quantity: 1
[09/03/2011 6:00 PM] – SUCCESS :Item Total: 149
[09/03/2011 6:00 PM] – SUCCESS :Item Currency: USD
[09/03/2011 6:00 PM] – SUCCESS :Coupon Code Used : iwanttopay199
[09/03/2011 6:00 PM] – FAILURE :Product Price after applying fixed amount discount: 149
[09/03/2011 6:00 PM] – SUCCESS :Checking if membership inegration is being used.
[09/03/2011 6:00 PM] – SUCCESS :Generating download link for single file.
[09/03/2011 6:00 PM] – SUCCESS :Download Link :
Protect The Name – 3 Step System – [admin removed link]
[09/03/2011 6:00 PM] – SUCCESS :Sending product email to : [admin removed email address]
[09/03/2011 6:00 PM] – SUCCESS :Product Email successfully sent to [admin removed email address]
[09/03/2011 6:00 PM] – SUCCESS :Notify Email successfully sent to [admin removed email address]
[09/03/2011 6:00 PM] – SUCCESS :Creating transaction result display value
[09/03/2011 6:00 PM] – SUCCESS :Transaction result display value set
[09/03/2011 6:00 PM] – SUCCESS :GA tracking if being used…
[09/03/2011 6:00 PM] – SUCCESS :Performing item specific autoresponder signup if specified.
[09/03/2011 6:00 PM] – SUCCESS :Performing global autoresponder signup if specified.
[09/03/2011 6:00 PM] – SUCCESS :Preparing to send AWeber signup request email.
[09/03/2011 6:00 PM] – SUCCESS :Sending AWeber signup request email via WordPress mailing system. From email:[admin removed email address]
[09/03/2011 6:00 PM] – SUCCESS :AWeber list to signup to:[admin removed email address]
[09/03/2011 6:00 PM] – SUCCESS :AWeber list signup from email address value:Protect The Name [admin removed email address]
[09/03/2011 6:00 PM] – SUCCESS :AWeber global list signup email sent for customer:[admin removed email address]
[09/03/2011 6:00 PM] – SUCCESS :Recording transaction details…
[09/03/2011 6:00 PM] – SUCCESS :Updating Products and Customers Database Tables with Sales Data.
[09/03/2011 6:00 PM] – SUCCESS :Products, Customers, Sales and Coupons Database Tables Updated.
[09/03/2011 6:00 PM] – SUCCESS :===> Start of Affiliate Commission Calculation <===
[09/03/2011 6:00 PM] – SUCCESS :Checking if the WP Affiliate Platform Plugin is installed.
[09/03/2011 6:00 PM] – SUCCESS :WP Affiliate Platform Plugin is not installed.
[09/03/2011 6:00 PM] – SUCCESS :===> End Affiliate Commission Check <===
[09/03/2011 6:00 PM] – SUCCESS :Checking if the Author ID field has been used in any of the purchased product for revenue sharing purpose.
[09/03/2011 6:00 PM] – SUCCESS :Revenue sharing feature is not in use.
[09/03/2011 6:00 PM] – SUCCESS :WP Affiliate Platform Plugin is not installed.
[09/03/2011 6:00 PM] – SUCCESS :End of post payment processing tasks.
[09/03/2011 6:00 PM] – SUCCESS :gateway=authorize, custom=coupon=iwanttopay199&ip=173.70.87.90, txn_id=3836734833, txn_type=auth_capture, transaction_subject=This transaction has been approved., first_name=xxxx, last_name=xxxx, payer_email=[admin removed email address], num_cart_items=, subscr_id=4e626ae6dca90, address=4xxxxxxxxxxxx1, , phone=, coupon_used=iwanttopay199, eMember_username=, eMember_userid=, mc_gross=149.00, mc_shipping=0.00, mc_tax=0.00, address_street=46 west passaic st, address_city=maywood, address_state=nj, address_country=, 0=Array,
September 4, 2011 at 1:45 am #36098adminKeymasterEverything worked good. Email were sent by the plugin… the following lines confirm this:
[09/03/2011 6:00 PM] - SUCCESS :Product Email successfully sent to XXXX@blaze.net.
[09/03/2011 6:00 PM] - SUCCESS :Notify Email successfully sent to YYYY@ProtectTheName.com.This post will explain why the email is not being received on the other end:
Google Analytic need the following details. You are missing the country field (is the country field optional on auth.net checkout?):
– city
– state
– country
September 4, 2011 at 3:46 am #36099blazeinternetMemberif everything worked right, why does it say failure on the one line?
September 4, 2011 at 3:47 am #36100blazeinternetMemberalso, before this problem I received the mail with out a problem
September 4, 2011 at 3:53 am #36101blazeinternetMemberI did receive the emails but it was at 840pm that was over 6 hours after they were sent. This was not happening before this situation, why would it take 6 hours… when it used to take 6 seconds?
anything to do with my updating to the new version?
September 4, 2011 at 3:40 pm #36102wzpModeratorIn the general settings, there is a checkbox concerning which email sender to use. Try changing it.
September 5, 2011 at 12:44 am #36103adminKeymasterTo be more specific you can play around with “Use WordPress Mailing System” option to see which one works better for your server. The plugin simply sends the email as soon as the order is verified (thats when the debug info is written too). I can assure you that the plugin doesn’t sit there for 6 hours before it executes the email sending function (its not who PHP scripts works).
There will be a server log that will record the time when it actually received the command to send the email and when it actually executed the command (the email left your server). The discrepancy there will be the delay factor.
Your host may have changed the server configuration (hosting providers are always upgrading their servers and changing configurations). Its worth checking with them.
Please Note: when you first open a ticket with them, they will say “Everything is fine on the server” (I don’t mean to be rude but you are most likely communicating with a not so well qualified tech person). Ask him to send you the server logs (if you have root access to your server… you should be able to check it yourself.
-
AuthorPosts
- You must be logged in to reply to this topic.