I am building a form with formidable forms plugin, this form and woo commerce both have PayPal IPN URLs.
PayPal only has one IPN URL field.
The way I want the form to work is nearly finished I just need some final code.
Process:
1) User fills out form and clicks order now 2) Order is added to Woo Commerce as a draft while user pays 3) PayPal IPN then tells Formidable forms the payment is successful 4) This is where the issue happens, because Woo Commerce uses separate IPN the order is not marked as paid in Woo Commerce so is not visible in the users account.
I need code in functions.php file writing that catches the PayPal IPN from Formidable forms and also passes this on to Woo Commerce to mark the order as paid and completed on both Formidable forms and Woo commerce at the same time.
Formidable forms layout is better than woo commerce and works perfect for layout but woo commerce is better for the users account and invoices so a combination of the two is perfect.
Most of the system is setup and working with a test form.
This is a small job I believe it just requires passing IPN information to Woo Commerce that already exists so the order can be marked as paid and completed.