Authorize and capture lataer
-
Hello Nazrul Hassa,
First of all, I would like to thank you for this great plugin !
In a personal project, I’m trying to add crowdfunding to woocommerce.
For that, I’ve added a custom field to each product. This field will contain the end date of the campaign.Then, I’ve created a Cron task :
1. Check if the product end date (my custom field) has been exceeded
2. If yes, check if enough product have been sold.
2.1 If yes, we charge the clients and then unpublish the product
2.2 If no, we don’t charge the clients and then unpublish the product
3. If no, we don’t charge the clients and we unpublish the productI’ve already realized the check of the date and the check of the number of products sold. Now, I need to charge all the clients or not.
In only use Stripe (with your plugin) as payments gateway. So, how can I retrieve all the payments for a product and charge them ? And how can I delete the charge for all the clients of a product ?
Thank you in advance.
- The topic ‘Authorize and capture lataer’ is closed to new replies.