Hi,
Please let me know that I'm following the right approach or not.
Approach: First I am authorizing an order amount using customer profile id and payment profile id and after few days I need to void it and authorize it again.
Details : Our bank can hold the authorized amount for 7 days only. If I am shipping the order within 7 days then I can capture the authorized amount successfully. But if shipment is pending and 7 days have been crossed then bank will release the amount. This is a problem for me because shipment I would be able to capture the amount. To avoid this I'm simply checking that on 7th day if capture has not done yet against Order, I'll do void Authorized transaction and then Authorize order total amount using customer profile id and customer payment profile id.
Is it a good approach?
Will this solution work in production? In TEST environment I checked it and it worked fine but need confirmation before we commit to production environment.