I am brand new to Ubercart, but have experience with Drupal so my apologies off the start if I make any mistakes or misunderstand the process.
I am looking for a way to add a Ubercart product to a user's cart if they select a check box while creating a node. Then instead the node being published, the node stays unpublished until their payment has been processed. So when creates a node there will be two possibilities:
Payment: User enters node information > checks box to add a paid feature > node is created but unpublished > user is directed to checkout page where they may complete their purchase > once the purchase has been completed the node becomes published
No Payment: User enters node information > does not check to add the paid feature > node is created and published. No further action required,
Any ideas on how to accomplish this, or other work arounds that may do the job?