Integration
Platforms
Magento 2
This extension allows you to use Nymcard as a payment gateway in your Magento 2 store. For detailed installation guides, contact support@nymcard.com.
- Sign up for Nymcard account at
https://dashboard.sandbox.nymcard.com/merchant/signup/ - In your Magento 2
[ROOT]/app/code/create folder calledNymcard/Nymcardpay. - Download and extract files from this repository to the folder.
- Open the command line interface.
- Enable Nymcard by running command below:
php bin/magento module:enable Nymcard_Nymcardpay - Magento setup upgrade:
php bin/magento setup:upgrade - Magento Dependencies Injection Compile:
php bin/magento setup:di:compile - Magento Static Content deployment:
php bin/magento setup:static-content:deploy - Login to Magento Admin and navigate to System/Cache Management
- Flush the cache storage by selecting Flush Cache Storage
2a. Admin Configuration
- Login to your Magento Admin
- Navigate to Store > Configuration > Sales > Payment Methonds > Nymcard > Payment Settings
- Click
Register for NymcardorI've already setup Nymcard, I want to edit my settings
2b. Payment Setup
- Set the Payment Mode to
Livefor LIVE and set it asSandboxfor SANDBOX. - Set the Merchant ID, Public Key and Private Key. The information can be found from your merchant dashboard.
- Set
Payment ActionasAuthorize onlyfor doing payment authorization only andAuthorize and Capturefor doing authorization as well as payment capture. - Set the Merchant Country as per the origin.
- Enable the log tracker to trace the Nymcard checkout process.
- Save the configuration and clear the cache.
3a. Product Widget Setup
- Navigate to
Stores/Configuration/Sales/Payment Methods/Nymcard/Widget Settings/Product Pagein your Magento admin. - Provide the following information below to display the Nymcard widget at the product page.
- Price Block Selector : XPath of the price element.
- Product page
to element path : Location where to render the widget.
- Save the configuration
- Clear the cache.
WooCommerce
This extension allows you to use Nymcard as a payment gateway in your WooCommerce store. For detailed installation guides, contact support@nymcard.com.
Ensure you have signed up as a merchant on Nymcard
1. Installation steps
- Get folder 'nymcard-gateway' from plugin zip
- Copy this folder inside /Wordpress [ROOT]/wp-content/plugins/
- Ensure folder structure as /wp-content/plugins/nymcard-gateway/nymcard-gateway.php
2a. Admin Configuration
- Login to your Wordpress Admin portal
- Navigate to Plugins > Installed Plugins
- Look for "Nymcard Payment Gateway" in the plugins list and click "Install"
- On installation complete, click on "Activate"
2b. Payment Setup
- Navigate to WooCommerce > Settings > Payments
- Check radio button "Enable" and click on "Set up" on Nymcard Gateway
- Enable Nymcard gateway
- Enable test mode – disable this when going live
- Put your test (staging) private and public keys in Test fields
- Put your live (staging) keys in Live fields
- Save changes
Shopify
This extension allows you to use Nymcard as a payment gateway in your Shopify store. For detailed setup instructions, contact support@nymcard.com.