We are using uCommerce 3.0 for our store on umbraco 4.9. We use the built in shipping piece to determine shipping costs. We also wrote our own sales tax calculation piece for the US. We had been using Google Checkout but now have to switch to Authorize.net.
In testing authorize.net, the individual line item cost (ie, quantity * price) is displaying on the payment form, but sales tax and shipping costs are not displayed. They are included in the total price for checkout however. The result leads to a confusing form as the numbers displayed don't add up.
Example:
Item
Description
Qty
Taxable
Unit Price
Item Total
grille
grille
1
N
US $9.36
US $9.36
:
US $46.80
Is there a way to pass additional line item details, for tax and shipping, to Authorize.net?
Is there a way to pass tax and shipping as specific pieces of information so that they are displayed before the Total price?
Somewhat related question -- the item details show a column 'Taxable' that is set to 'N'. This item is taxable. Where does that value come from?
If you want to pass more information that otherwise provided to the paymentgateway you need to override the pagebuilder configured for authorizedotnet. It's the class responsible for creating the form with the data posted to them.
It's fairly easy to do so. Just swap out the current one configured in Payments.config under ucommerce/configuration.
You need to implement a class deriving from AuthorizedotnetPageBuilder and configure that one. If you need to see how the code is made for the paymentmethodservice right now you can take a look at dotpeek and decompile the DLL's. Otherwise you can send me a mail at msk at ucommerce dot dk and i'll send you the source code.
Passing more information to Authorize.net
We are using uCommerce 3.0 for our store on umbraco 4.9. We use the built in shipping piece to determine shipping costs. We also wrote our own sales tax calculation piece for the US. We had been using Google Checkout but now have to switch to Authorize.net.
In testing authorize.net, the individual line item cost (ie, quantity * price) is displaying on the payment form, but sales tax and shipping costs are not displayed. They are included in the total price for checkout however. The result leads to a confusing form as the numbers displayed don't add up.
Example:
Is there a way to pass additional line item details, for tax and shipping, to Authorize.net?
Is there a way to pass tax and shipping as specific pieces of information so that they are displayed before the Total price?
Somewhat related question -- the item details show a column 'Taxable' that is set to 'N'. This item is taxable. Where does that value come from?
erik
Hi e,
If you want to pass more information that otherwise provided to the paymentgateway you need to override the pagebuilder configured for authorizedotnet. It's the class responsible for creating the form with the data posted to them.
It's fairly easy to do so. Just swap out the current one configured in Payments.config under ucommerce/configuration.
You need to implement a class deriving from AuthorizedotnetPageBuilder and configure that one. If you need to see how the code is made for the paymentmethodservice right now you can take a look at dotpeek and decompile the DLL's. Otherwise you can send me a mail at msk at ucommerce dot dk and i'll send you the source code.
Hope that helps.
Morten
is working on a reply...