Click here to learn about how to set up the MicroPayments plugin settings before adjusting the Micropayment plugin settings within WordPress User Submitted Posts!
How Does MicroPayments plugin Integrate With WordPress User Submitted Posts?
After installing MicroPayments plugin, every registered user is given his/her own wallet. Then, after the quick setup of the external Payment Gateway and the currency, users can buy the virtual currency on your site and use it as if it was a prepaid credit card. They will use points from this digital wallet to pay for posting.
Front-End
When publishing an article, they will be informed about the price with a message that also includes a link to their wallet.
Submission form with the payment option
If they don't have enough points, they will be prompted to buy more points
Message about lack of points
More than enough points
If they do have enough virtual money, the article will be posted and the amount, withdrawn for their wallet.
Success message
Enabling And Configuring MicroPayments Plugin on WordPress User Submitted Posts
To configure the integration, head to Admin Dashboard → CM User Submitted Posts → Settings → Payments tab.
Payments settings
Action on publish post - Choose charge to effectively enable the integration. Choosing disable won't charge users points.
Number of points to charge - How many points will be deducted from their wallet upon posting.
Labels/Translation
It's possible to customize and translate the messages shown to the user on the Front-End. To do so, head to Admin Dashboard → CM User Submitted Posts → Settings → Labels tab. From there, check the new MicroPayments section.
MicroPayments labels
Wallet deduction message - Shown before the user tries publishing the post.
Wallet insufficient message - Shown when the user tries posting but doesn't have enough points.
Wallect deduction success message - Shown when the user tries posting and has enough points.
Notes: in all three messages you can use HTML tags and these two symbols:
%d → turns into the cost (for instance, "99").
%s → turns into the wallet link (for instance, "www.site.com/wallet").
Use it inside an anchor tag to create a link - for instance, "<a href="%s>Your wallet</a>"