I tried out the swpm_payment_ipn_processed action hook on recurring paiements, but it is only triggered when the first paiement occurs, not when the recurring paiements occurs. Any idea how to fix this?
And can you also tell me what is the name of the array that is returned so I can capture the data?
Hi, thank you for reaching out to us. I have submitted a message to the developers to investigate further your question.
It should get triggered both for the first payment and the recurring payments. Please enable the debug log feature of the plugin. Then after you receive a recurring payment, check the log file to see if you see the following line in the log file:
Transaction data saved.
The action hook is triggered just after that. So seeing that line in the log file means, it is getting executed.
You must be logged in to reply to this topic.