[vQmod] Paypal Standard improvements [1.5.1.1]
54 posts
• Page 1 of 3 • 1, 2, 3
[vQmod] Paypal Standard improvements [1.5.1.1]
This modification of the Paypal payment module makes sure that the discount (reward+credit+coupon+voucher), shipping, handling, low-order-fee and tax are passed on to Paypal as separate entries and then shown as such on the Paypal gateway. If the discount is not less than the sub-total then only the grand total is passed on to Paypal with the store-name and invoice number as the item name.
- Attachments
-
bugfixes-pp-standard.xml.zip- Paypal Standard payment module fixes for Opencart 1.5.1.1
- (1.44 KiB) Downloaded 304 times
J.Neuhoff - MHC Web Design
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
-

JNeuhoff - Posts: 2114
- Joined: Tue Dec 04, 2007 7:38 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
Great. if this works we should go ahead and add it to the core file

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18209
- Joined: Mon Jul 21, 2008 7:02 pm

Re: [vQmod] Paypal Standard improvements [1.5.1.1]
Thanks
I will take it for a spin.
I will take it for a spin.
-

Maansy - Posts: 930
- Joined: Wed Jun 23, 2010 10:04 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
Note: testing coupons only. not tax, shipping or gv
in Paypal it shows this:
seems working for coupons
in Paypal it shows this:
- Code: Select all
Your order summary
DescriptionsAmount
Product5 $54.95
Item number: product_5
Item price: $54.95
Options: Website: test.com
Quantity: 1
Discount -$53.95
Item total $1.00
Total $1.00 USD
seems working for coupons

-

Maansy - Posts: 930
- Joined: Wed Jun 23, 2010 10:04 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
test2
i added gv, tax, shipping to the coupon and this is what i got in step 6 before it lunches to paypal:
Price Total
$54.95 $54.95
Voucher(121212): $0.00 <----- it should show $2.00. maybe it was ignored since a coupon applied
Sub-Total: $54.95
Flat Rate: $1.00
Coupon(crafty): $-1.95
VAT 17.5%: $9.45 <--------not showing in paypal
Total: $63.45 <--------Total is different in paypal
in paypal i got this:
Your order summary
DescriptionsAmount
Product5 $54.95
Item number: product_5
Item price: $54.95
Options: Website: test.com
Quantity: 1
Flat Rate Item price: $1.00
Quantity: 1
Discount -$1.95
Item total $54.00
Total $54.00 USD
i added gv, tax, shipping to the coupon and this is what i got in step 6 before it lunches to paypal:
Price Total
$54.95 $54.95
Voucher(121212): $0.00 <----- it should show $2.00. maybe it was ignored since a coupon applied
Sub-Total: $54.95
Flat Rate: $1.00
Coupon(crafty): $-1.95
VAT 17.5%: $9.45 <--------not showing in paypal
Total: $63.45 <--------Total is different in paypal
in paypal i got this:
Your order summary
DescriptionsAmount
Product5 $54.95
Item number: product_5
Item price: $54.95
Options: Website: test.com
Quantity: 1
Flat Rate Item price: $1.00
Quantity: 1
Discount -$1.95
Item total $54.00
Total $54.00 USD
-

Maansy - Posts: 930
- Joined: Wed Jun 23, 2010 10:04 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
Strange, I am unable to reproduce your error. I just tested it with both a voucher and a coupon, and 2 taxable products and taxable shipping costs, and it worked just fine. Both discounts were applied as expected. And the tax showed up in Paypal as expected (I am using the 'tax_cart' variable for this). Do you have a URL where I can see this error and try it out? I'd like to see it in Firefox's Firebug, especially the exact hidden variables list before its sent off to Paypal.
J.Neuhoff - MHC Web Design
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
-

JNeuhoff - Posts: 2114
- Joined: Tue Dec 04, 2007 7:38 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
i tested it on a 2nd store and here is the results. 100% working correctly
- Attachments
-
- pp_paypal_standerd.png (59.42 KiB) Viewed 2712 times
Last edited by Maansy on Fri Aug 12, 2011 4:36 pm, edited 1 time in total.
-

Maansy - Posts: 930
- Joined: Wed Jun 23, 2010 10:04 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
and here when i tested it on the 1st store
notice that in store GV is 0.00. It should be -$2.00
tax is not transferred to paypal.
notice that in store GV is 0.00. It should be -$2.00
tax is not transferred to paypal.
- Attachments
-
- pp_paypal_standerd2.png (21.4 KiB) Viewed 2709 times
Last edited by Maansy on Fri Aug 12, 2011 4:38 pm, edited 4 times in total.
-

Maansy - Posts: 930
- Joined: Wed Jun 23, 2010 10:04 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
now which files are involved in here so i can fix the 1st store?
-

Maansy - Posts: 930
- Joined: Wed Jun 23, 2010 10:04 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
You are not providing enough details of your error, I am unable to reproduce your error. Judging by the screenshots, your are not using a standard Opencart 1.5.1.1 checkout.
J.Neuhoff - MHC Web Design
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
-

JNeuhoff - Posts: 2114
- Joined: Tue Dec 04, 2007 7:38 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
J
The 1st screenshot is ok. Everything was meant to transit, went fine. All data was sent to paypal.
The 2nd screenshot is another store. Seems like gv didn't add to total. In paypal, tax is missing.
My question is, which files involve in the whole checkout process so I can backup the store with these files?
Another thing. in the back end, I know there are 14 order status. I only see 11 in the drop down.
Thanks
The 1st screenshot is ok. Everything was meant to transit, went fine. All data was sent to paypal.
The 2nd screenshot is another store. Seems like gv didn't add to total. In paypal, tax is missing.
My question is, which files involve in the whole checkout process so I can backup the store with these files?
Another thing. in the back end, I know there are 14 order status. I only see 11 in the drop down.
Thanks
-

Maansy - Posts: 930
- Joined: Wed Jun 23, 2010 10:04 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
My vQmod XML file modifies the Opencart core files
catalog/controller/payment/pp_standard.php
catalog/view/theme/default/template/payment/pp_standard.tpl
As regards your second screenshot: Can you reproduce the same error when you use the standard Opencart 1.5.1.1 web theme?
catalog/controller/payment/pp_standard.php
catalog/view/theme/default/template/payment/pp_standard.tpl
As regards your second screenshot: Can you reproduce the same error when you use the standard Opencart 1.5.1.1 web theme?
J.Neuhoff - MHC Web Design
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
-

JNeuhoff - Posts: 2114
- Joined: Tue Dec 04, 2007 7:38 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
Maansy wrote:i tested it on a 2nd store and here is the results. 100% working correctly
On the post above with the black background
the tax is out by 0.01
Happy Coding!
Simon
------
Commercial Mods:
Google Merchant / Base XML Feed + Bing Shopping + Sitemaps - Automatic Friendly SEO URLs
Full List of UKSB Extensions and Mods
vQmod Generator - Develop & Test OpenCart on your Local Windows machine
Click here if I have helped you and you would like to make a donation
Simon
------
Commercial Mods:
Google Merchant / Base XML Feed + Bing Shopping + Sitemaps - Automatic Friendly SEO URLs
Full List of UKSB Extensions and Mods
vQmod Generator - Develop & Test OpenCart on your Local Windows machine
Click here if I have helped you and you would like to make a donation
-

uksitebuilder - Posts: 5602
- Joined: Thu Jun 09, 2011 3:37 pm
- Location: United Kindgom
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
uksitebuilder wrote:Maansy wrote:i tested it on a 2nd store and here is the results. 100% working correctly
On the post above with the black background
the tax is out by 0.01
yep i noticed that. is it paypal or store effecting that. 0.01 is not that big of a deal IMHO
-

Maansy - Posts: 930
- Joined: Wed Jun 23, 2010 10:04 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
here you go. i did 2 tests with and with out your mod in the store that had an issue with it before.
this mod works fine in one store, but for some reason it doesnt work correctly on another store.
now i cant tell why GV do show the correct amount instead it shows 0.00
it says "Success: Your gift voucher discount has been applied!" after i apply the GV but it still shows $0.00.
knowing that after i disable tax and shipping (in product, store and module) now GV shows fine and your mod works again. hmmmmm
my head is spinning.
this mod works fine in one store, but for some reason it doesnt work correctly on another store.
now i cant tell why GV do show the correct amount instead it shows 0.00
it says "Success: Your gift voucher discount has been applied!" after i apply the GV but it still shows $0.00.
knowing that after i disable tax and shipping (in product, store and module) now GV shows fine and your mod works again. hmmmmm
my head is spinning.

- Attachments
-
- pp_paypal_standerd4.png (105.49 KiB) Viewed 2743 times
-

Maansy - Posts: 930
- Joined: Wed Jun 23, 2010 10:04 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
Below is what I get with bugfixes-pp-standard.xml. As I said, I am unable to reproduce your error unless you can give me access to your store URL so I can replicate your error.
- Attachments
-
- screenshot-paypal.png (4.9 KiB) Viewed 2734 times
-
- screenshot-confirm-order-gbp1.png (8.61 KiB) Viewed 2734 times
J.Neuhoff - MHC Web Design
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
-

JNeuhoff - Posts: 2114
- Joined: Tue Dec 04, 2007 7:38 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
i backed up all the pp_standard files front/back end. now its working fine 
that's weird cuz i never altered any of these files before
now this fix should be added to the core

that's weird cuz i never altered any of these files before

now this fix should be added to the core

-

Maansy - Posts: 930
- Joined: Wed Jun 23, 2010 10:04 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
The fixes are not working for me. Always brings up paypal screen with $0.00 from different computers and what not as well. I have re-uploaded all the core paypal files and still nothing.
- CanadaPleco
- Posts: 22
- Joined: Fri Aug 19, 2011 5:06 pm
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
Thanx for the vQmod.
Any idea if you can fix this problem: http://forum.opencart.com/viewtopic.php?f=113&t=40181
by moderating your vQmod?
Any idea if you can fix this problem: http://forum.opencart.com/viewtopic.php?f=113&t=40181
by moderating your vQmod?
OC version 1.5.4.1
- markman-b
- Posts: 233
- Joined: Wed Aug 24, 2011 11:13 am
Re: [vQmod] Paypal Standard improvements [1.5.1.1]
markman-b wrote:Thanx for the vQmod.
Any idea if you can fix this problem: http://forum.opencart.com/viewtopic.php?f=113&t=40181
by moderating your vQmod?
There are a number of rounding issues with OpenCart, I reported a similar bug here, but it was never picked by Daniel or Q, as far I know the rounding bug is still there, might be worth testing it again in 1.5.1.3.
J.Neuhoff - MHC Web Design
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
OpenCart Override Engine (Version 5.3)
allowing addons to override and modify core methods, language files and templates (see also FAQ)
-

JNeuhoff - Posts: 2114
- Joined: Tue Dec 04, 2007 7:38 pm
54 posts
• Page 1 of 3 • 1, 2, 3
Who is online
Users browsing this forum: burley, cgchris99, creativesousa, OC2PS and 9 guests













