Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › "Wrong Product Price Detected" How to avoid this?
Tagged: wrong price, Wrong Product Price Detected!
- This topic has 16 replies, 7 voices, and was last updated 10 years, 11 months ago by dhellis.
-
AuthorPosts
-
September 5, 2010 at 9:53 am #1786anotherbreedMember
Hi,
I added some custom code to WP eStore, for example the price for users from specific country is calculated by taking the 20% off the main price before it is sent to PayPal.
Everything works fine, but I got the following message in the Thank You page:
“Wrong Product Price Detected. Actual Product Price : 1 Paid Product Price : 0.8”
Sounds like a security check that doesn’t allow the transaction to work correctly. How to remove that?
September 6, 2010 at 12:47 am #23964amin007ParticipantIt’s a security check to make sure someone cannot inject javascript to dynamically change the price before they make a payment(it’s a hacking attempt that some scammers may try).
I can tell you how to take this check out but you leave yourself open to threat. Yes it’s a minor threat as most customers won’t know this trick but it is still a threat. So let me know if you are still okay with going ahead and I will tell you the workaround.
September 6, 2010 at 11:15 am #23965anotherbreedMemberYes, please tell me how to disable this.
September 7, 2010 at 1:10 am #23966amin007ParticipantOpen the “paypal.php” and find the following:
if ($cart_item_data_total < $true_product_price)
{
$error_msg .= 'Wrong Product Price Detected! Actual Product Price : '.$true_product_price.' Amount Paid: '.$cart_item_data_total;
$this->debug_log($error_msg,false);
return false;
}Once you find it just comment it out or delete it. If you are displaying the download links on the “Thank You” page then there one other place where you will need to make the similar change:
Open the “eStore_includes3.php” and find the following:
if ($cart_item_data_total < $true_product_price)
{
$error_msg .= 'Wrong Product Price Detected. Actual Product Price : '.$true_product_price;
$error_msg .= 'Paid Product Price : '.$cart_item_data_total;
return false;
}Once you find it just delete it or comment it out and that should do it.
September 7, 2010 at 9:06 am #23967anotherbreedMemberThank you, now it works fine again.
March 26, 2012 at 3:28 pm #23968nhshinobiMemberI received the same message:
“Here are some more details for the exact cause of this transaction failure…
Wrong Product Price Detected! Actual Product Price : 249 Amount Paid: 1.00″
This is on a subscription product that has been working fine up till now. We recently added a thirty day trial for $1 in the product section.
I’m not sure why this came through. I have since updated my shopping cart to the current version.
Two questions:
1) what did I miss in the setup so this doesn’t happen again?
2) How do I fix the customer who this happened to? They are in limbo at this moment.
Thanks
I love these products!
Dennis
March 26, 2012 at 8:03 pm #23969nhshinobiMemberQuick update: It was human error…mine!
When we added the $1.00 trial period we didn’t change the price field to reflect that. It was taking a payment for $1 but looking for the regular monthly rate of our subscription.
This cart is the best.
Thanks
Dennis
May 31, 2012 at 3:59 pm #23970studioc5MemberWe changed the price of our subscriptions from 25 to 26.95 and now we keep getting this error. Wrong Product Price Detected! Actual Product Price : 26.95 Amount Paid:
25.00 . Does paypal check to see if the price has changed, I thought if we had previously sent paypal subscriptions for $25 that it would just keep billing that amount and have nothing to do with the website anymore. Whats goin on ?
June 1, 2012 at 1:29 am #23971adminKeymasterNovember 23, 2012 at 12:16 pm #23972MargueritavMemberHi there,
I have Dennis’s problem above. Product price is $18 per month with a trial period of $1 for the first 5 days and I have received this error. Dennis seemed to figure it out, but I’m not having the same luck unfortunately.
Please tell me what I’ve done wrong and how to fix it and the customer?
Cheers,
Marguerita
November 24, 2012 at 2:45 am #23973adminKeymasterWhat value have you entered in the “Normal Price” field of this product?
November 26, 2012 at 10:30 pm #23974MargueritavMemberI have $18 in the Normal Price field and set up a $1 5 day trial.
Marguerita
November 27, 2012 at 6:12 am #23975adminKeymasterOkay that would be an issue since the plugin will expect the payment to be at least $18.
There are two things you can do:
option 1) Enter “1” in the normal price field
or
option 2) Enter something like the following in the normal price field:
$1 trial then $18 recurring
December 2, 2012 at 10:30 pm #23976MargueritavMemberThanks. I’ll try this and let you know how it goes.
Cheers,
Marguerita
December 4, 2013 at 6:19 am #23977dhellisSpectatorI have received the “Wrong Product Price Detected!” twice. I am almost 100% positive that this was caused by a price increase and the user obtaining a cached version of the old webpage. Paypal did get the old price credited to my account and I generated a link so that my customers could download their item.
What does not appear is the records of these 2 sales. I would like the data to be present in the Stats page so I can track monthly earnings and I would like to have the customer data entered.
Is there a method to do this or would I have to enter it manually in the SQL Database?
-
AuthorPosts
- You must be logged in to reply to this topic.