Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • sreejith 10 posts 109 karma points
    Dec 04, 2014 @ 11:43
    sreejith
    0

    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.

    var orderNumber = TransactionLibrary.GetBasket(true).PurchaseOrder.OrderNumber;
    

    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?

  • Søren Spelling Lund 1797 posts 2786 karma points
    Dec 04, 2014 @ 14:04
    Søren Spelling Lund
    100

    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.

  • sreejith 10 posts 109 karma points
    Dec 05, 2014 @ 09:37
    sreejith
    0

    Hi Soren,

    Thank you for the code. Let me try extending.eWay provider.

    And thank you regarding the reference number.

  • Peter 3 posts 23 karma points
    Feb 19, 2015 @ 04:38
    Peter
    0

    Hi sreejith,

    Did you end up finding a solution, I have exactly the same problem?

    Cheers,

    Peter

Please Sign in or register to post replies

Write your reply to:

Draft