Copied to clipboard

Flag this post as spam?

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


  • MB 273 posts 936 karma points
    Feb 27, 2022 @ 15:20
    MB
    0

    EPay Authorization is invalid

    Hey guys,

    I'm trying to setup my test merchant for Vendr to do my final testing before purchasing a licence.

    I get the error:

        Exception Details: System.ApplicationException: Authorization is invalid
    
    Source Error:
    
    
    Line 6:  @Html.Partial("OrderInformationSummary")
    Line 7:  
    Line 8:  @using (Html.BeginPaymentForm(Model.Order))
    Line 9:  {
    Line 10:     <div class="border border-gray-300 rounded">
    
    
    Source File: d:\web\localuser\roldskovcykelsho.dk\new\Views\CheckoutReviewPage.cshtml    Line: 8 
    

    This is most likely due to my ePay payment method setup. I don't exactly know what fields is required for this to work?

    I have filled these out:

    • Test Access Key: The password for webservice (API/Webservices -> Access)
    • Test Merchant Number (Settings -> Payment system -> Test-merchant) and it's also set to ACTIVE
    • Enabled TEST MODE in Vendr
    • I pinged the website and took the IP, I then entered it under API/Webserives - Access.

    What else do I need?

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Feb 28, 2022 @ 09:21
    Matt Brailsford
    0

    Hi MB

    I'll be honest, It's been a while since I created the ePay (Bambora) provider so it's not exactly fresh in my mind.

    Looking at the source code though, this is where the connection to Bambora is configured https://github.com/vendrhub/vendr-payment-provider-bambora/blob/v2/dev/src/Vendr.PaymentProviders.Bambora/BamboraPaymentProviderBase.cs#L43 and you can see it needs an AccessKey, MerhantNumber, SecretKey and an MD5Key so my guess is one of those may be missing from the settings.

    As I say, it's been a while since this was created so I'm not entirely sure where you find these in the payment gateway portal, but hopefully you are able to hunt them out.

    Let me know if you are having problems and I'll have to see if I still have a test account to figure them out.

    Hope this helps

    Matt

  • Tomasz Kowalski 135 posts 445 karma points
    Mar 08, 2022 @ 12:48
    Tomasz Kowalski
    1

    Hi,

    It is very important to mention, that the official Venr's Bambora Payment payment provider does work only with Bambora Checkout.

    It will not work with the old ePay (known now as Bambora ePay).

    Been there, done that...

    Regards

    Tomasz

Please Sign in or register to post replies

Write your reply to:

Draft