Transaction Method:
- Sale means the payment is processed immediately and put into your account
- Authorize means the payment is held, but must manually be accepted by you within 3 days
Order Status:
- These are the order statuses that you want the order to be based on the event from paypal. Typically "Completed" is your final successful payment, so for tangible goods it would be Processing and for downloads it would be Completed
- The rest of the statuses are just mapping paypal's status to opencart's status. They are mostly one for one the same. (pending = Pending, Denied = Denied, etc)
- Sale means the payment is processed immediately and put into your account
- Authorize means the payment is held, but must manually be accepted by you within 3 days
Order Status:
- These are the order statuses that you want the order to be based on the event from paypal. Typically "Completed" is your final successful payment, so for tangible goods it would be Processing and for downloads it would be Completed
- The rest of the statuses are just mapping paypal's status to opencart's status. They are mostly one for one the same. (pending = Pending, Denied = Denied, etc)
Well this is a limitation of the current download "Status" flag in opencart. You would need to set the status of download products to "Processing". But then if you change it to "Shipping" it removes the download access. I will be changing the download status to be a multiselect box so you can choose multiple states that a download is allowed to be enabled from to fix this in an upcoming version of opencart
I can't answer this, but this is a good little mod to let people realise that their order is being processed:speedingorange wrote:Im Currently running paypal 1.4.2 and am finding it REALLY slow to respond between checkout/confirm page and paypal. (40 secconds+)
Would upgrading fix this?
I intend to upgrade anyhow but i want to know if this could be an issue that wont be resolved by upgrading.
http://forum.opencart.com/viewtopic.php ... 63#p113291
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
UPDATED FIRST POST (new_pp_standard_1493.3.zip)
Ok I think I fixed the issue with ATTN: Manual Verification blah blah needed
Also included:
- Uses billing address if shipping is not required
- Price mismatch check using mc_gross_1 instead of mc_gross as that includes the paypal fee
I've been running this for a few days now on my site with no issue. I've tested addresses with funky characters like
And they no longer fail the verification.
Let me know if you have any problems.
Ok I think I fixed the issue with ATTN: Manual Verification blah blah needed
Also included:
- Uses billing address if shipping is not required
- Price mismatch check using mc_gross_1 instead of mc_gross as that includes the paypal fee
I've been running this for a few days now on my site with no issue. I've tested addresses with funky characters like
Code: Select all
Test & SÖns
12 rue du Général de Gaulle
Let me know if you have any problems.
hmmm.. yea the euro to usd would be an issueash_in99 wrote:I updated with latest version yesterday and today first time got this error emails.... when anyone bought the product.
PP_Standard - Possible Scam: IPN/PDT Price "19.00" does not match OpenCart Total "58.0000". Order needs manual verification.
PP_Standard - IPN/PDT Auto-Verification Failed. This is often caused by strange characters in the customer address or name. Verify manually.
2 products added by buyer.... 19 is correct value in Euro and 58 is correct order total in USD.
Buyer paid me in Euro, so that is the problem?
Address contains the word Coruña
But i'd hoped the other issue with auto-verification was fixed.
Can you tell me, in the data that comes with that email, do you see "charset=UTF-8"
ok then it looks like maybe there is an extra step needed. The "charset" field may not be overriding correctly. Try this.ash_in99 wrote:No UTF-8, contains this... charset=windows-1252
and some other info is...
DEBUG GET VARS::route=payment/pp_standard/pdt
tx=2F589133WF011xxxx
st=Completed
amt=42.00
cc=EUR
cm=pJOo
item_number=
Go here:
https://cms.paypal.com/us/cgi-bin/?cmd= ... min_custom
And scroll down to the section about changing your charset from windows-1252 to utf-8
Then goto History->IPN history
and resend that transaction again. If you have paypal debug enabled you should be able to see it hit the system log and see IPN: Verified or IPN: Invalid
I've updated to the latest version this morning, and the first transaction done has come back with 2 manual verifications needed.
and (I've ************ out some of the personal information)
Code: Select all
PP_Standard - Possible Scam: IPN/PDT Price "7.50" does not match OpenCart Total "17.5000". Order needs manual verification
DEBUG GET VARS::route=payment/pp_standard/pdt
tx=9V4255497X241894N
st=Completed
amt=17.50
cc=GBP
cm=Zmpk
item_number=
Code: Select all
PP_Standard - Possible Scam: IPN/PDT Price "7.50" does not match OpenCart Total "17.5000". Order needs manual verification
DEBUG POST VARS::mc_gross=17.50
invoice=192 - Steve Saxby
protection_eligibility=Partially Eligible - INR Only address_status=unconfirmed item_number1=EGR Blanking Plate tax=0.00 item_number2=EGR Cheater payer_id=YTKW4YDZXEJEG
address_street=************
************
payment_date=15:24:25 Mar 16, 2011 PDT
payment_status=Completed
charset=windows-1252
address_zip=************
mc_shipping=0.00
mc_handling=0.00
first_name=Stephen
mc_fee=0.80
address_country_code=GB
address_name=************
notify_version=3.1
custom=Zmpk
payer_status=verified
business=************
address_country=United Kingdom
num_cart_items=2
mc_handling1=0.00
mc_handling2=0.00
address_city=************
verify_sign=Aqku5V-8-slTRLJC8ltdpfG28.UDA6luuVByr6yJMPFkqB4Z5rJVW46C
payer_email=************
mc_shipping1=0.00
mc_shipping2=0.00
txn_id=9V4255497X241894N
payment_type=instant
last_name=Saxby
address_state=
item_name1=EGR Blanking Plate
receiver_email=************
item_name2=EGR Cheater
payment_fee=
quantity1=1
quantity2=1
receiver_id=X4A8G62XPTLFS
txn_type=cart
mc_gross_1=7.50
mc_currency=GBP
mc_gross_2=10.00
residence_country=GB
transaction_subject=Zmpk
payment_gross=
Also changed character set to UTF-8 inside PayPal, resent the transaction, and still get the same error.Qphoria wrote: ok then it looks like maybe there is an extra step needed. The "charset" field may not be overriding correctly. Try this.
Go here:
https://cms.paypal.com/us/cgi-bin/?cmd= ... min_custom
And scroll down to the section about changing your charset from windows-1252 to utf-8
Then goto History->IPN history
and resend that transaction again. If you have paypal debug enabled you should be able to see it hit the system log and see IPN: Verified or IPN: Invalid
Thanks Qphoria, although it's still not working, I now get the below:Qphoria wrote:Ok updated the first post to fix the payment mismatch issue.
Code: Select all
PP_Standard - Possible Scam: IPN/PDT Price "0" does not match OpenCart Total "17.5000". Order needs manual verification
I knew you'd say thatMattW wrote:Thanks Qphoria, although it's still not working, I now get the below:Qphoria wrote:Ok updated the first post to fix the payment mismatch issue.
Code: Select all
PP_Standard - Possible Scam: IPN/PDT Price "0" does not match OpenCart Total "17.5000". Order needs manual verification
![Tongue :P](./images/smilies/tongue.gif)
Does your IPN message not have a payment_gross field? that's the only way to get a "0" there.
Qphoria wrote:I knew you'd say thatMattW wrote:Thanks Qphoria, although it's still not working, I now get the below:Qphoria wrote:Ok updated the first post to fix the payment mismatch issue.
Code: Select all
PP_Standard - Possible Scam: IPN/PDT Price "0" does not match OpenCart Total "17.5000". Order needs manual verification
Does your IPN message not have a payment_gross field? that's the only way to get a "0" there.
![Wink ;)](./images/smilies/wink.gif)
The field is there, but there is no value for it
Code: Select all
charset=windows-1252
payment_gross=
address_status=unconfirmed
mc_gross shows the correct amount
Have sent you a PM with the full unedited version to take a look at.
Code: Select all
mc_gross=17.50
Now getting the following when trying to make a payment:
changed to
and it's all gone through OK.
Tested purchasing two products from my store, IPN validates now :-)
Many thanks for sorting this.
Code: Select all
Parse error: syntax error, unexpected ';' in /home/XXXXXX/public_html/shop/catalog/controller/payment/pp_standard.php on line 612
Code: Select all
} else (
$amount = 0;
)
Code: Select all
} else {
$amount = 0;
}
Tested purchasing two products from my store, IPN validates now :-)
Many thanks for sorting this.
Who is online
Users browsing this forum: No registered users and 36 guests