I would like to know whether uCommerce supports to pass the Product Invoice Information parameters like Invoice Ref Number and Invoice Description to eWay payment gateway.
I know i can get the OrderNumber of a purchase order by the following line.
and would like to pass this value as the reference number and add product description parameters to eWay gateway.
There are methodes like EditBillingInformation to pass/add other parameters like first/last names, address etc. But non of them allows to pass the invoice number and description.
Regarding including the order number as the reference it's generally not advised to do so as it may cause broken order number series. Instead you can stick with the default ReferenceId as set on the payment, which can be tracked in the uCommerce backend if you need to look up payment information on the eWAY end.
ucommerce eWay Product Invoice Information
Hi All,
I would like to know whether uCommerce supports to pass the Product Invoice Information parameters like Invoice Ref Number and Invoice Description to eWay payment gateway.
I know i can get the OrderNumber of a purchase order by the following line.
and would like to pass this value as the reference number and add product description parameters to eWay gateway.
There are methodes like EditBillingInformation to pass/add other parameters like first/last names, address etc. But non of them allows to pass the invoice number and description.
Is there a way to do these?
Hi Sreejith,
Unfortunately we do not include this information by default so you have to extend the eWAY provider to include it.
I have provided the code for the provider so you can extend it with the information you need. Once the provider is modified you need to register it in Custom.config. Docs at http://docs.ucommerce.net/ucommerce/v6/extending-ucommerce/register-a-component.html
Download the eWAY provider https://dl.dropboxusercontent.com/u/2927351/EWay-V3.zip
Regarding including the order number as the reference it's generally not advised to do so as it may cause broken order number series. Instead you can stick with the default ReferenceId as set on the payment, which can be tracked in the uCommerce backend if you need to look up payment information on the eWAY end.
Hi Soren,
Thank you for the code. Let me try extending.eWay provider.
And thank you regarding the reference number.
Hi sreejith,
Did you end up finding a solution, I have exactly the same problem?
Cheers,
Peter
is working on a reply...