Can someone please point me in the direction of this? Is there any example code? I just want to create a post when a successful transaction occurs.
Thank you.
Can someone please point me in the direction of this? Is there any example code? I just want to create a post when a successful transaction occurs.
Thank you.
With Authorize.net, the entry will not be accepted and the post will not be created until payment is complete. It all happens on your site. There is no way around that where there should be a need to hold the publication of a post until some later time when payment is received. Payment should be instant. Can you explain your use case and maybe we can help you further? Thanks.
So if I hook onto "gform_after_submission" to create a new post, there is no need to check whether the transaction is successful because it is guaranteed to be?
We have an event service; when people pay for an event, we want to create an event post if the payment is successful.
Thanks for the help.
Yes, regarding the gform_after_submission. If the payment does not go through, the entry and post will not be created.