liqiusheng / silverstripe-ecommerce

Automatically exported from code.google.com/p/silverstripe-ecommerce
0 stars 0 forks source link

Patch to send GST info to PayPal (payment_paypal module) #475

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The attached patch sends PayPal the GST info for the payment. While this isn't 
essential, it means that this information is also logged in the PayPal 
transaction.

NOTES: 
- This is for the payment_paypal module, and not the PayPalPayment class within 
the main payment module.
- It only works with the TaxModifier class and any child-classes, as that's 
what the Order::TaxInfo() function returns

Original issue reported on code.google.com by hjr29s...@gmail.com on 28 Sep 2012 at 4:03

Attachments:

GoogleCodeExporter commented 8 years ago
One extra thing, I would have liked to make this a bit more generic instead of 
being tied to the ecommerce module, but the payment module has no concept of 
tax. I'm not sure if GST and similar taxes should be considered beyond the 
scope of the payment module or not. 

Original comment by hjr29s...@gmail.com on 28 Sep 2012 at 4:08

GoogleCodeExporter commented 8 years ago

Original comment by nfranc...@gmail.com on 21 Aug 2013 at 6:32