Merchant API
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.

  1. Sign up for Nymcard account at https://dashboard.sandbox.nymcard.com/merchant/signup/
  2. In your Magento 2 [ROOT]/app/code/ create folder called Nymcard/Nymcardpay.
  3. Download and extract files from this repository to the folder.
  4. Open the command line interface.
  5. Enable Nymcard by running command below: php bin/magento module:enable Nymcard_Nymcardpay
  6. Magento setup upgrade: php bin/magento setup:upgrade
  7. Magento Dependencies Injection Compile: php bin/magento setup:di:compile
  8. Magento Static Content deployment: php bin/magento setup:static-content:deploy
  9. Login to Magento Admin and navigate to System/Cache Management
  10. Flush the cache storage by selecting Flush Cache Storage

2a. Admin Configuration

  1. Login to your Magento Admin
  2. Navigate to Store > Configuration > Sales > Payment Methonds > Nymcard > Payment Settings
  3. Click Register for Nymcard or I've already setup Nymcard, I want to edit my settings

2b. Payment Setup

  1. Set the Payment Mode to Live for LIVE and set it as Sandbox for SANDBOX.
  2. Set the Merchant ID, Public Key and Private Key. The information can be found from your merchant dashboard.
  3. Set Payment Action as Authorize only for doing payment authorization only and Authorize and Capture for doing authorization as well as payment capture.
  4. Set the Merchant Country as per the origin.
  5. Enable the log tracker to trace the Nymcard checkout process.
  6. Save the configuration and clear the cache.

3a. Product Widget Setup

  1. Navigate to Stores/Configuration/Sales/Payment Methods/Nymcard/Widget Settings/Product Page in your Magento admin.
  2. 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.
  3. Save the configuration
  4. 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

  1. Get folder 'nymcard-gateway' from plugin zip
  2. Copy this folder inside /Wordpress [ROOT]/wp-content/plugins/
  3. Ensure folder structure as /wp-content/plugins/nymcard-gateway/nymcard-gateway.php

2a. Admin Configuration

  1. Login to your Wordpress Admin portal
  2. Navigate to Plugins > Installed Plugins
  3. Look for "Nymcard Payment Gateway" in the plugins list and click "Install"
  4. On installation complete, click on "Activate"

2b. Payment Setup

  1. Navigate to WooCommerce > Settings > Payments
  2. 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.