better-payment / bp-plugin-magento2-api2

Other
0 stars 0 forks source link

[Feature] Captures #8

Closed gadimbaylisahil closed 1 month ago

gadimbaylisahil commented 7 months ago

Requirements

Plugin should have the similar capture functionality as in Shopware 6. Following payment methods will support captures:

Following transaction states are capturable:

Maximum amount of captures can not exceed the total transaction amount.

List of already existing captures for a transaction can be retrieved from /transactions/:id/log endpoint from Better Payment API. Details on which log events correspond to the capture records can be found: https://github.com/better-payment/bp-plugin-shopware6-api2/blob/main/src/Resources/app/administration/src/capture/index.js

gadimbaylisahil commented 1 month ago

Done.