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
    Dec 04, 2018 @ 16:34
    MB
    0

    Capture button doesn't work

    Alright I saw a previous post about this but I'm not sure how to get it to work.

    When want to capture a payment but nothing seems to happen in ePay.

    I tried following this thread: https://our.umbraco.com/documentation/reference/events/application-startup

    1. Capture API is enabled
    2. I added TlsFix.cs to App_Code folder
    3. I used the code from the above link and uploaded it to my shop online, unfortunately it doesn't seem to work

    namespace Roldskov.App_Code { using Umbraco.Core;

    public class TlsFix : ApplicationEventHandler
    {
        protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
        {
            base.ApplicationStarting(umbracoApplication, applicationContext);
            System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;
        }
    }
    }
    

    The code above gives me this error:

    2018-12-04 17:31:00,177 [P115904/D3/T41] WARN TeaCommerce.PaymentProviders.Classic.ePay - ePay(ORDER-6) - Error making API request - error code: -1003, pbs response: -1

    And if I open the order and goes under Transactions -> Capture I sometimes receive this error:

    enter image description here

    // Mike

  • Anders Burla 2560 posts 8256 karma points
    Dec 05, 2018 @ 09:07
    Anders Burla
    100

    Hi Mike

    Your IP is not allowed. Just googled "epay error code 1003" and found this. http://epay.bambora.com/en/faq-payments

    enter image description here

    Don't know about the viewstate error you get. Should not be related to the ePay error.

  • MB 273 posts 936 karma points
    Dec 05, 2018 @ 09:13
    MB
    0

    Hi Anders,

    That is EXACTLY what caused the problem. It was my own fault for not going through the documentation well enough.

    Thank you for helping me out, I appreciate it

    //Mike

Please Sign in or register to post replies

Write your reply to:

Draft