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 PaymentGatewaypublic void execute(PaymentInfoMagcard payinfo)
PaymentGatewayexecute in interface PaymentGatewaypayinfo - The payinfo object stores all transaction parameters including the return values.public void doAuthCapture(PaymentInfoMagcard payinfo)
protected String sendTransaction(StringBuilder sb) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionpublic Boolean reconciliate()
reconciliate in interface PaymentGatewaypublic Boolean reconciliateWithClosure()
reconciliateWithClosure in interface PaymentGatewaypublic Boolean cancelPayment(Payment payment)
cancelPayment in interface PaymentGatewaypayment - public boolean supportsReconciliation()
supportsReconciliation in interface PaymentGatewayCopyright © 2021. All rights reserved.