public class PaymentGatewayAuthorizeNet extends Object implements PaymentGateway
Constructor and Description |
---|
PaymentGatewayAuthorizeNet(AppProperties props)
Creates a new instance of PaymentGatewayAuthorizeNet
|
Modifier and Type | Method and Description |
---|---|
Boolean |
cancelPayment(Payment payment)
Cancelling a payment in Authorize.Net needs a trial end error strategy.
|
void |
doAuthCapture(PaymentInfoMagcard payinfo) |
void |
execute(PaymentInfoMagcard payinfo)
Execute must pass a payment request to the gateway using the parameters in PaymentInfoMagcard and write
the results back into PaymentInfoMagcard.
|
PaymentPanel |
getInfoMagcardFactory(JPaymentNotifier notifier) |
Boolean |
reconciliate() |
Boolean |
reconciliateWithClosure() |
protected String |
sendTransaction(StringBuilder sb) |
boolean |
supportsReconciliation() |
public PaymentGatewayAuthorizeNet(AppProperties props)
props
- public PaymentPanel getInfoMagcardFactory(JPaymentNotifier notifier)
getInfoMagcardFactory
in interface PaymentGateway
public void execute(PaymentInfoMagcard payinfo)
PaymentGateway
execute
in interface PaymentGateway
payinfo
- The payinfo object stores all transaction parameters including the return values.public void doAuthCapture(PaymentInfoMagcard payinfo)
protected String sendTransaction(StringBuilder sb) throws MalformedURLException, IOException
MalformedURLException
IOException
public Boolean reconciliate()
reconciliate
in interface PaymentGateway
public Boolean reconciliateWithClosure()
reconciliateWithClosure
in interface PaymentGateway
public Boolean cancelPayment(Payment payment)
cancelPayment
in interface PaymentGateway
payment
- public boolean supportsReconciliation()
supportsReconciliation
in interface PaymentGateway
Copyright © 2021. All rights reserved.