Quantcast
Channel: ActiveTopics
Viewing all articles
Browse latest Browse all 72689

Process eWAY payment using on-site form (no redirect to eWAY).

$
0
0

Hi there,

I need to process an eWAY payment using a form on our website (it is not acceptable to redirect off to eWAY to process the payment). I have read Integrating with a Payment Gateway using External Payment Windows, which I believe is talking about how to do this, and it seems to say that I need to implement a RenderPage method, and call that instead of RequestPayment...

I looked in the source for the EWayPaymentMethodService, and this is the RenderPage method:

// UCommerce.Transactions.Payments.EWay.EWayPaymentMethodService
public override string RenderPage(PaymentRequest paymentRequest)
{
    throw new NotSupportedException("EWay does not need a local form. Use RequestPayment instead.");
}

Similarly, when I look at AcquirePaymentInternal (which I believe I would need to call), it ominously shows:

// UCommerce.Transactions.Payments.EWay.EWayPaymentMethodService
protected override bool AcquirePaymentInternal(Payment payment, out string status)
{
    throw new NotImplementedException("Acquire not supported from EWay payment provider.");
}

What I want, is something similar to what is described in this article - Setup uCommerce to Include Braintree Payments as a Payment Method - which shows that you can call RenderPage as so: @Html.Raw(paymentWindow.RenderPage(new PaymentRequest(payment.PurchaseOrder, payment)))

So is this possible to do with eWAY?


Viewing all articles
Browse latest Browse all 72689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>