mage2pro / alphacommercehub

AlphaCommerceHub integration with Magento 2
https://upwork.com/fl/mage2pro
MIT License
0 stars 2 forks source link

Implement an ability to capture a preauthorized bank card payment from the Magento backend (the `CapturePayment` transaction) #60

Closed dmitrii-fediuk closed 6 years ago

dmitrii-fediuk commented 7 years ago

CapturePayment: Capture/settle an authorization or an online payment.

http://developer.alphacommercehub.com.au/docs/api-integration-guidenov-2017#transaction-types

dmitrii-fediuk commented 6 years ago

63 is implemented! (Involve the Df\API framework in the AlphaCommerceHub integration)

dmitrii-fediuk commented 6 years ago

Starting this task.

dmitrii-fediuk commented 6 years ago

I need to implement #65 first (If a bank card transaction was just preauthorized (not captured yet), then my SuccessURL handler should mark it so in Magento (currently it wrongly marks it as captured)).

dmitrii-fediuk commented 6 years ago

65 is implemented.

dmitrii-fediuk commented 6 years ago

I am beginning to implement this task.

dmitrii-fediuk commented 6 years ago

A CapturePayment can refer to an existing approved payment by either the merchant reference MerchantTxnID or the APC reference PaymentID.

It is not necessary to reference payment details when settling a pre-approved payment, either a credit card that was authorized or a bank account that was validated. However the payment object details can be supplied again or if the merchant uses the APCSecure service a SecureToken can be supplied.

developer.alphacommercehub.com.au/docs/api-integration-guidenov-2017#payment-lifecycle

dmitrii-fediuk commented 6 years ago

I am blocked with the issue: Neither the documentation nor the API Explorer provides a sample of the CapturePayment transaction for a bank card payment

dmitrii-fediuk commented 6 years ago
dmitrii-fediuk commented 6 years ago
dmitrii-fediuk commented 6 years ago

A CapturePayment API request for a preauthorized bank card payment, and a response to it

dmitrii-fediuk commented 6 years ago

Implemented in 0.5.3