Capture Payment based on delay
-
I know right now you can setup most payment plugins to authorization of payment, then the admin later will use the capture button to capture the payment.
I would like to automatic this capture based on the delay. Say 48 hours after the purchase. In our site we want to allow customers a period of time to cancel their order before we capture payment and fulfill the order.
I know some payment plugins have an auto-capture on order status. So I was wondering if I write a wp-cron function that changes the order status after 48 hours would this work? Not sure if just changing the order status would trigger the capture logic.
If anyone has any ideas how to setup this up it would be great.
- The topic ‘Capture Payment based on delay’ is closed to new replies.