Woocommerce Integration
View on GitHub
From installing the plugin to requesting your first test payment, learn how to get started with the paymennt for the WooCommerce plugin.
note
This guide assumes that you have already set up WooCommerce on your WordPress instance.
note
To learn about the Wocommerce Plugin integration process in detail, see GitHub.
Before you start
If you are using the Pointcheckout plugin/Paymennt.com plugin older than version 2.1.0, remove the plugin by following steps:
- Log in to WordPress as an administrator.
- In the left menu, click Plugins > Installed Plugins.
- Search for PointCheckout using the search box at the top. If you find one, click Delete, or click Deactivate and then Delete.
Install the plugin from the WordPress marketplace
Paymennt plugin is an approved WordPress plugin, available in the WordPress marketplace for easy installation.
- Log in to WordPress as an administrator.
- In the left menu, click Plugins > Add New.
- On the Add Plugins page, search for Paymennt in the right search bar and the Paymennt plugin will appear.
- Click Install Now.
- Once the plugin installation is complete, click Activate.
- On activation, the plugin will be ready to be configured.
Configure the plugin
- Log in to WordPress as an administrator.
- In the left menu, click WooCommerce > Settings > Payments.
- Find the Paymennt method and click on Manage.
- Tick Enable card payments via Paymennt.
- Choose the payment Title and Description. This will be displayed to customers on your checkout page.
- Set the Mode to Testing.
- Enter your API Key, API Secret, and Public Key as provided by your account manager.
- Select the type of payment you need:
- Select Drop-In Frames if you want an embedded payment frame on the checkout page itself.
- Select Hosted Checkout if you want the user to enter payment details on a separate page.
- Click Save Changes.
That's it! You're ready to start testing.
Test the plugin
- Go to your shop's public URL and add a product to your cart.
- Go to your cart then proceed to the checkout.
- Enter the required customer and billing details.
- Select the Credit Card (via Paymennt) method.
- For embedded Drop-In Frames payment, enter the card details first and then click Place Order, the payment will get processed (with or without 3D-secure redirect depending on the transaction). For Hosted Checkout payment, click Place Order and you will now be redirected to paymennt.com payment page, enter the details and click Pay.
- In case of successful payment, the order confirmation page shows up, else you will be asked to check out again. If you entered a real email address in the billing details, you'll also receive an order confirmation email.
- Log in to your WordPress account as an administrator.
- Click WooCommerce in the left menu. Your test order is displayed and has a status of Processing. This indicates that the payment has been successfully processed.
note
Use the following card details for the test:
- Number: 4242 4242 4242 4242
- Expiry date: 12/25
- CVV: 100
- Name: TEST USER