Complete and Capture payment via PHP
-
Hey guys,
I’m currently building my woocommerce site, and I have separated payment into
1) auth at order
2) capture at job completionThis is fine if I want to manually change the status to completed via WP-Admin – it seems to also register the “capture” call. How can I do this via php, or via another method? I basically want to build a client approval button, so they can set the status to “complete”, trigger the completed email, and authorise payment.
Is there an existing best practice for this? Could someone point me in the right direction for creating a php script that changes the status, triggers the email and captures the payment?
Thanks in advance
Lachlan
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Complete and Capture payment via PHP’ is closed to new replies.