CM MicroPayments (CMMP) - WooCommerce - Payment Gateway
Setting Up Gateway
CM MicropaymentPlatform allows you to allow users to use their points as payment currency in the shop you're running.
To use the WooCommerce Payment Gateway, you need to do the following:
- Enable it in the Micropayment Settings
- Setup the Gateway in the WooCommerce
Below: To enable the WooCommerce payment gateway, you need to check the option called "Use Woo Commerce for Checkout" in the Settings -> General
Below: The settings of the Gateway in the WooCommerce. One of the most important things is setting up the ratio (marked with red border)
After Saving changes you can get back to WooCommerce -> Checkout -> Checkout Options ans see if the payment gateway appears on the list.
Below: The Micropayment Gateway appears on the list under the name "Use My Credit Woo"
Using the gateway
After setting up you can use the gateway as any other payment gateway.
On the checkout after selecting the Gateway user will have to just fill the Wallet ID (which is pre-filled if the user is logged in and the Wallets are assigned to users).
Below there's an information on how much points would be required to purchase and how many points are left in the given wallet.
Below: Example Checkout with the CM Micropayment Gateway selected.
After the transaction, if it's successful, the number of points will be subtracted from the Wallet and the transaction will appear in the Wallet's history.