Magento 2 Pin Payments extension integrates Pin payment gateway with Magento 2 store to capture online payments securely from customers in Australia.
Table of Content
- Extension Installation Guide
- Configuration
- Pin Payments Method in Frontend
- Pin Payments Details in Order View Backend
- Pin Payments Method for Backend Order
- Extension Installation
- For Magento Marketplace Customers
- Create a folder structure in Magento root as app/code/Meetanshi/PinPayment
- Download and extract the zip folder and upload our extension files to the app/code/Meetanshi/PinPayment via FTP.
- Login to your SSH and run below commands step by step:
- php bin/magento setup:upgrade
- For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
- For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
- php bin/magento cache:flush
- For Magento Marketplace Customers
-
- For Meetanshi Customers
- Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
- Login to your SSH and run below commands step by step:
- php bin/magento setup:upgrade
- For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
- For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
- php bin/magento cache:flush
- For Meetanshi Customers
- Configuration
For configuring the extension, login to Magento 2, move to Stores à Configuration à Sales à Payment Methods à Pin Payments - Meetanshi, where you can find various settings to configure the extension.
- Enabled: Enable or disable Pin Payments extension from here.
- Vault Enabled: Set YES to enable vault to allow customers save cards for future transactions.
Basic Settings:
- Title: Enter title for the Pin Payments payment method to show in the frontend.
- Show Pin Payments Logo: Select YES to show Pin Payments logo on the checkout page in frontend.
- Payment Action: Select one of the payment actions for the payment capture.
- Sandbox Mode: Set YES to enable sandbox mode for the payment gateway.
- Publishable Key: Follow the steps to get your publishable key from Pin Payments.
- Secret Key: Follow the steps to get your secret key from Pin Payments.
-
- Login to https://dashboard.pinpayments.com/login with your credentials. Click on “Accounts” from the left sidebar and click on “API Keys” under the “Payment Tools”.
-
- You can see the publishable and secret keys. Copy them and paste in the relevant fields in the configuration. Make sure to use the live keys if you are not using the sandbox mode.
For more details, refer https://pinpayments.com/getting-started
Advanced Settings:
- Vault Title: Enter the vault title to show in the email to customers.
- New Order Status: Set status for the new orders placed through Pin Payments method.
- Debug: Select YES to enable debug.
- Instructions: Enter additional instructions to show on the checkout page in the frontend.
- Minimum Order Total: Enter the minimum order total to allow the use of the payment method.
- Maximum Order Total: Enter the maximum order total to allow the use of the payment method.
- Sort Order: Enter sort order of the payment method.
Country Specific Settings:
- Payment from Applicable Countries: Select all or selected countries to allow payments using Pin Payments.
- Payment from Selected Countries: If you have set selected countries from the above option, select the countries to allow payments using Pin Payments.
- Pin Payments Method in Frontend
Once the extension is configured, it can be seen enabled in the frontend. Simply add products to cart and go to the check out, you can see the Pin payments method enabled. Select it, enter the card details and click “Place Order” to finish payment and place the order successfully. The customers can tick the box here to save the card for future transactions.
- Pin Payments Details in My Account Section
Immediately after the order is placed, the Pin payments details can be seen in order view tab under the customer’s My Account section.
- Pin Payments Stored Cards
If the vault is enabled and the customers have ticked the box from the checkout page to save the cards for the future transactions, they can see Pin payments stored cards in their My Account section under “Stored Payment Methods” tab.
- New Order Placement using Stored Cards
If the vault is enabled and the customer has ticked the box from the checkout page to save the card for the future transactions, he can use the stored card to pay for the new order in future.
- Pin Payments Details in Order View Backend
Apart from the customer’s My Account section, the admin can see Pin Payments payment details from the Sales à Orders à Order View section in the backend.
- Pin Payments Method for Backend Order
Just as the frontend, Pin payments method also works with the backend orders. Admin needs to create a new order, select the customer, add products, enter the address details and select Pin payments method, add card details and click “Submit Order” to place order from the backend using the Pin payments method.
- New Backend Order Placement using Stored Cards
If the customer has stored cards for the future transactions, the admin can use the stored cards while creating a new order from the backend. The admin needs to create a new order, select the customer, add products, enter the address details and select Pin payments stored card, and click “Submit Order” to place order from the backend using the Pin payments stored cards.