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 9 years, 3 months ago by dhellis.
September 5, 2010 at 9:53 am #1786
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 #23964amin007Participant
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 #23965
Yes, please tell me how to disable this.September 7, 2010 at 1:10 am #23966amin007Participant
Open 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;
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;
Once you find it just delete it or comment it out and that should do it.September 7, 2010 at 9:06 am #23967
Thank you, now it works fine again.March 26, 2012 at 3:28 pm #23968nhshinobiMember
I 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.
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.
I love these products!
DennisMarch 26, 2012 at 8:03 pm #23969nhshinobiMember
Quick 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.
DennisMay 31, 2012 at 3:59 pm #23970studioc5Member
We 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 #23971November 23, 2012 at 12:16 pm #23972
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?
MargueritaNovember 24, 2012 at 2:45 am #23973
What value have you entered in the “Normal Price” field of this product?November 26, 2012 at 10:30 pm #23974
I have $18 in the Normal Price field and set up a $1 5 day trial.
MargueritaNovember 27, 2012 at 6:12 am #23975
Okay 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
option 2) Enter something like the following in the normal price field:
$1 trial then $18 recurringDecember 2, 2012 at 10:30 pm #23976
Thanks. I’ll try this and let you know how it goes.
MargueritaDecember 4, 2013 at 6:19 am #23977dhellisSpectator
I 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?
- You must be logged in to reply to this topic.