2Checkout WooCommerce Connector
This repository includes modules for each 2Checkout inteface:
- 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}/?wc-api=2checkout_ipn
- Enable 'Triggers' in the IPN section. It’s simpler to enable all the triggers. Those who are not required will simply not be used.
- Copy the directory for the module that you want to install to your WordPress plugins directory under '/wp-content/plugins'.
- In your WordPress admin, navigate to Plugins and install the plugin.
- Navigate to your WooCommerce settings page, click on Payments and click the module link.
- Check to enable.
- Enter the payment title and description.
- 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)
- Click Save Changes.