WP User Frontend has built in membership feature which allows the site admin to charge the users for posting. Currently, we are supporting PayPal and Bank Payments. The payments made through PayPal gets processed automatically. But the bank payments has to be processed manually. You can learn more about the payments and subscription in the Subscription Section.
For now, we will see the options available in wp-admin → User Frontend → Settings → Payments
Charge for Posting: If you want to charge the users for posting on your site, then you have to select “Yes”. When the user will click the submit button, he will be taken to the payment page to select payment gateway.
Till the payment process completes, the post status will be pending and will not be published unless payment is received. If the user is paying via PayPal, then the system will receive an automatic response and the post will be automatically published.
For bank payments, the admin has to verify the payment manually and publish the post. Till then, the user will have to wait.
Force Pack Purchase: If you do not want the user to create a post before purchasing the subscription pack then you can enable this option. If left unchecked the subscription pack will be optional. So the users can either choose pay per post or buy a subscription pack.
To understand the above options better, here is a table:
|Charge for Posting||Force Pack Purchase|
|Enabled||Enabled||Everyone will be asked to purchase a pack before they see the posting form.|
|Disabled||Enabled||Users can post without any cost|
|Enabled||Disabled||Have to pay to create each post. Buying subscription packs will be optional.|
|Disabled||Disabled||Everyone can post without paying. Purchasing a pack will be optional.|
Subscription Pack Page: You have to select the page which contains the shortcode [wpuf_sub_pack], no matter what is the page name or the page URL. The only thing that matters is the shortcode.
Subscription at Registration: You can force the user to purchase a subscription pack before registering on your site. So no one will be able to sign up without payment. If you disable this option but enable force pack purchase, then the user will be asked to purchase a pack whenever he tries to create a new post.
If you have not enabled force pack purchase and disabled this option as well, then the user will never be asked to purchase a pack.
Currency: As we have an automatic payment gateway, we have to send certain parameters to that. So you have to select the currency you are going to use. Currently, all the PayPal supported currencies are available to select from. Here is a list of the supported currencies.
- Australian Dollar
- Canadian Dollar
- British Pound
- Japanese Yen
- U.S. Dollar
- New Zealand Dollar
- Swiss Franc
- Hong Kong Dollar
- Singapore Dollar
- Swedish Krona
- Danish Krone
- Polish Zloty
- Norwegian Krone
- Hungarian Forint
- Czech Koruna
- Israeli New Shekel
- Mexican Peso
- Brazilian Real
- Malaysian Ringgit
- Philippine Peso
- New Taiwan Dollar
- Thai Baht
- Turkish Lira
Currency Symbol: This is just a simple piece of text. You can use any Unicode-compatible character. It will not be passed anywhere. It will be used to display information and pricing.
Cost Per Post: As you have read about the Pay Per Post feature above, here you will set cost you want to charge the users for each post. This will be displayed to the user on the post creation page.
Enable Sandbox Mode: If you want to check if all your logics are working and payments are going through correctly and the system works fine, then you can enable the sandbox mode and test. When you are sure everything is working fine and you are ready to launch your site, please disable this option.
Payment Page: This page is automatically created when you activate the plugin for the first time and click “Install WPUF Pages”. This page does not contain any shortcode. But you can place a custom message. As you have selected the page here in settings, the gateway information will be automatically injected.
Payment Success Page: This page is also created in the same way as Payment Page. This the page the user will see after completing the payment via PayPal. You can write anything you like to show upon successful payment.
Payment Gateways: You have to select the payment gateways you want to enable. If you do not have time to check bank payment and approve the transactions manually, then you should activate only PayPal. All the payments made through PayPal is automatic and does not require any action by the admin.
PayPal Email: This is your PayPal email address which will be used to receive all the payments.
PayPal Instructions: If you want to show a text when the customer selects PayPal as a payment gateway, then you can write that here. If you do not want to show anything, then you may keep it blank. Placing a value here is not mandatory.
PayPal API Username, PayPal API Password, Paypal API Signature: As you have read above that the payments and required actions happen automatically if used PayPal, we need certain authorization to receive those automated responses. If you have never used PayPal API ever before, then you may refer to the tutorial  below.
Bank Instruction: If you want to show a message if the user selects bank payment gateway, such as your bank account details and deposit instruction, you can write that here.
Bank Payment Success Page: After completing the checkout process with bank payment gateway, the page you want to redirect the user.
- How to add a new currency
- How to add a new payment gateway
- How to open a PayPal Sandbox account
- How to get PayPal API Username, Password, and Signature
- How to charge different amount for different post type