Payment Conditions set to process transactions in installments other than 1x are processing transactions as prepaid in full
ID: 1030652
Backlog
Published on 5/9/2024
•
Last update on 5/9/2024
Summary
Payment conditions configured to process transactions in a number of installments other than 1x are being able to process payments in 1x. The issue only occurs for payments where the user has chosen to pay as prepaid in full.
Simulation
- Set up 3 Payment Conditions for credit cards of any brand: Payment Condition A - with installment in 1x, Payment Condition B - with installment in 2x, and Payment Condition C - with installment in 3x.
- Go to the Checkout page by adding any item to the cart and proceed to the payment screen. Choose to pay with a credit card in 1x and complete the purchase.
- Go to the admin and open the newly created transaction, click the "+ Information" button, and observe that the
AvailableRules
field will contain a list with all the IDs of Payment Conditions, Payment Condition A, Payment Condition B, and Payment Condition C, as being able to process the transaction in question.
Workaround
t is possible to set the Payment Condition 1x as default, so when there is a tie between all Payment Conditions, the gateway will prioritize the default rule.