2Checkout VirtueMart Connector
This repository includes plugins for each 2Checkout interface:
- twocheckout : 2PayJS/API
- twocheckout_inline : Inline Checkout
- twocheckout_convert_plus : Hosted Checkout
- Sign in to your 2Checkout account.
- Navigate to Dashboard → Integrations → Webhooks & API section
- There you can find the 'Merchant Code', 'Secret key', and the 'Buy link secret word'
- Navigate to Dashboard → Integrations → Ipn Settings
- Set the IPN URL which should be https://{your-site-name.com}/index.php?option=com_virtuemart&view=pluginresponse&task=pluginnotification&tmpl=component
- When adding the IPN URL make sure you check SHA3 as Hashing algorithm
- Enable 'Triggers' in the IPN section. It’s simpler to enable all the triggers. Those who are not required will simply not be used.
- Login to your Virtuemart
- In your Joomla admin, navigate to Extensions -> Manage -> Install and upload the plugin for the payment interface you wish to use.
- Navigate to Componets -> VirtueMart -> Payment Methods and click New.
- Check to enable.
- Enter the name and description, set to published and save your changes. Click on Configuration.
- Enter your Seller ID found in your 2Checkout panel Integrations section.
- Enter your Secret Key found in your 2Checkout panel Integrations section.
- Enter your Secret Word 2Checkout panel Integrations section (Only used for Inline Checkout and Hosted Checkout modules)
- Set your currency and test/live mode settings.
- Save your changes.