PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Create Post after Successful Payment

  1. 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.

    Posted 11 years ago on Tuesday September 4, 2012 | Permalink
  2. 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.

    Posted 11 years ago on Tuesday September 4, 2012 | Permalink
  3. 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.

    Posted 11 years ago on Tuesday September 4, 2012 | Permalink
  4. Yes, regarding the gform_after_submission. If the payment does not go through, the entry and post will not be created.

    Posted 11 years ago on Tuesday September 4, 2012 | Permalink