Active
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Payment
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2020 at 12:29 UTC
Updated:
18 Jun 2020 at 16:50 UTC
Jump to comment: Most recent
Comments
Comment #2
mglamanInstead of forcing the logic for refresh inside of payment gateways, we could add this in the payment gateway controller. If there is no error, keep reloading until a payment entity exists, bail after X amount of tries. This is better than automatically proceeding to checkout if there is an IPN that would be incoming.
If a payment entity is created during onReturn, no problems. Otherwise we automatically handle more async IPN