I'm building a site where we want our users to be able to pay for a posting. So for instance, if they want to post a job opening in our job board, they would fill out a custom form for jobs and submit. Upon submitting it will take them to a page to proof their entry and then pay for it via PayPal.
I want the post to remain unpublished until PayPal returns a confirmation that the post has been paid for.
Has anybody done something like this with Gravity Forms?
Here's what my plan is for the workflow, please let me know if you see any problems...
On the proof your post page, I will create a random transaction number hash, SHA1 it and insert it into the record. I'll submit the transaction number as a custom field to PayPal in the return URL. Once the user pays for their post, the return URL will grab the record from the post where the SHA1(transaction number) == the hash stored in the db and then set it's publish state to publish.
does that make sense? Is there an easier way?
thanks in advance.