commercetools / commercetools-payone-integration

Integration between commercetools eCommerce API and Payone payment service provider API.
https://dev.commercetools.com/
MIT License
7 stars 8 forks source link

Algorithm to identify CT transactions that need to be executed must not stop recursion just because a transaction's state is still Pending after its execution #73

Closed sesamzoo closed 3 years ago

sesamzoo commented 8 years ago

Problem

The current algorithm - "handle oldest transaction with state Pending" - is not sufficient for scenarios like 4.2.7 Sample: preauthorization/capture, REC with credit note in PAYONE's Server API documentation: The Charge transaction of the invoice is still Pending (buyer hasn't paid anything, yet) while a Refund transaction (credit note issued by merchant) is requested (and completed).

Another scenario is described in #42.

Solution

To be defined...

See also

9's discussion

ahalberkamp commented 3 years ago

This will be fixed in this issue #208