Extending your Payment Options with WP Ultimo: WooCommerce Integration
IMPORTANT NOTE: This article refers to WP Ultimo version 1.x. If you are using version 2.x, see this article.
ATTENTION: WP Ultimo: WooCommerce Integration requires WooCommerce to be activated at least on your main site.
We understand that PayPal and Stripe might not be available in some countries and there may be different reasons why a user would prefer to use other gateways. To get around this limitation, we created an add-on that will allow WP Ultimo to integrate with WooCommerce to extend payment options using the payment gateways supported in WooCommerce.
The WooCommerce Integration works in a very similar way to the way our Manual Gateway works. It offers tons of flexibility to your users, allowing them to choose any of the payment forms available on your WooCommerce install.
How to Install the WooCommerce Integration Add on
To enable this feature, you will need to install the WP Ultimo: WooCommerce Integration add-on. To do this, go to WP Ultimo > Add-ons then find WP Ultimo: WooCommerce Integration from the list and click Install Now.
Once the add-on is installed, it will add an extra checkbox under the Active Gateways section which will allow you to enable the WooCommerce integration.
You can configure the payment gateway from WooCommerce Settings under your main site. You can read more about that here.
How to manage the payment
On the user's admin dashboard, the users choose the correspondent payment option on their panel. The default label used for this payment option is Dynamic Payments, but you can change it on the WooCommerce Integration Settings page.
Once users billing period ends, the subscription is put on hold. At the same time, an order will be created on the WooCommerce install on your network’s main site. That order can be easily accessed from the Subscription Management screen.
Users then receive an invoice in their email, with a link to perform the payment (the link also appears on their billing history). That link redirects to the WooCommerce payment screen, where users will be able to select one of the available WooCommerce gateways.
Once the payment is received, the subscription is renewed, the payment is logged on WP Ultimo and the order is set to complete.
Some Important Notes:
- Default functionality of WP Ultimo still works with this integration form. For example, issuing refunds from the Subscription Management screen will communicate with WooCommerce to issue the refund using the selected payment form.
- WP Ultimo: WooCommerce Integration relies on WP Cron to work. This works very well most times, but if the site has low traffic then the cron is not prompted to check for scheduled events and the event is missed, which can cause execution delays.