Sezzle Woocommerce Payment


Sezzle is a payment gateway for letting your customers buy now and pay later.

Restrict Sezzle based on user roles

Make sure Sezzle Gateway plugin is active in WordPress admin.

Hide Sezzle Payment Gateway

If you want to hide Sezzle’s payment gateway based on user roles

  1. Add the following function to your code:

    function restrict_sezzle_pay($available_gateways) {
    if (is_admin()) {
    return $available_gateways;
    return $available_gateways;

  2. Call the following filter inside the user’s access deciding code:

    add_filter(‘woocommerce_available_payment_gateways’, ‘restrict_sezzle_pay’);

Hide Sezzle Product Widget

If you want to hide Sezzle’s product widget based on user’s roles

  1. Call the following action inside the user’s access deciding code:

    remove_action(‘woocommerce_single_product_summary’, ‘add_sezzle_product_banner’);

Example code with woocommerce-memberships plugin:

If you are using woocommerce-memberships to deal with user roles and restrictions, you can use the following code to hide Sezzle gateway and product widget based on user’s role like so:

$user_id = 1;
$plan_id = 42;
$plan = get_post($plan_id);
// If user does not belong to the plan
if(!wc_memberships_is_user_member($user_id, $plan)) {
    // hide the gateway
    add_filter('woocommerce_available_payment_gateways', 'restrict_sezzle_pay'); // make sure restrict_sezzle_pay function is available
    // hide the product widget
    remove_action('woocommerce_single_product_summary', 'add_sezzle_widget_in_product_page');


  1. Read about woocommerce_available_payment_gateways hook here.

For more information, please visit Sezzle Docs.


  1. Signup for Sezzle at (US/CA) or (EU). Login to your dashboard and keep your API Keys page open. You will need it in step 6.
  2. Make sure you have WooCommerce plugin installed.
  3. Install the Sezzle Payment plugin and activate.
  4. Go to admin > WooCommerce > Settings > Payments > Sezzle.
  5. Fill the form according to the instructions given in the form and save it.

Your store is ready to use Sezzle as a payment gateway.


No hay reseñas para este plugin.

Colaboradores y desarrolladores

«Sezzle Woocommerce Payment» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce «Sezzle Woocommerce Payment» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • FEATURE: Multi site support.


  • MODIFY: Updated the description to showcase US, CA and EU.
  • MODIFY: Update FR translations


  • FEATURE: Add support for internationalization
  • FEATURE: Add translation support for DE, ES and FR languages


  • FEATURE: Add support for internationalization
  • FEATURE: Add translation support for DE, ES and FR languages


  • MODIFY: Sending Sezzle checkout URL to WooCommerce for instant redirection to Sezzle Checkout.


  • FIX: Merchants receiving error «Sezzle: Unable to authenticate.» on WooCommerce plugin.


  • FIX: Checkout breaking while WooCommerce PayPal Payments is active.


  • FIX: Sezzle URL Fix.


  • FEATURE: Default Widget configs.


  • FIX: Complete URL mismatch for multi network sites like etc.
  • FIX: Gateway region management improvisation.


  • FEATURE: Compatibility for EU region.
  • FEATURE: Widget Script will not be served if merchant id is missing.


  • FIX: Assigning order currency to checkout and refund.
  • FEATURE: Ability to turn on/off syncing analytical data.


  • FIX: Sqaure and Stripe Payment Method Form blocking.
  • FEATURE: Ability to turn on/off installment widget plan from Sezzle settings.


  • FIX: Multiple Installment Widget.


  • FEATURE: Installment Plan Widget under Sezzle Payment Option in Checkout Page.
  • FIX: Admin check added in gateway hiding function.


  • FIX: Failing of sudden orders being already captured.
  • FEATURE: Ability to turn on/off logging.


  • MODIFY: Transaction Mode added instead of Sezzle API URL.


  • FIX: Undefined index:Authorization during redirection to Sezzle.


  • MODIFY: Updated User Guide.


  • MODIFY: Updated Widget Script URL.


  • FIX: Order key property access through function instead of direct access.


  • FIX: Return URL from Sezzle Checkout changed to Checkout URL of merchant website.
  • FEATURE: Added logs for checking API functions.
  • FIX: Check payment capture status before capturing the payment so that already captured orders does not fall into the process.


  • FIX: Downgraded to previous stable version due to some conflicts arising in few versions.
  • MODIFY: Delayed capture has been removed.
  • MODIFY: Widget in Cart has been removed.


  • FIX: Added check to include settings class when not available.


  • MODIFY: WordPress support version has been changed to 4.4.0 or higher.


  • FEATURE: Hiding of Sezzle Pay based on cart total.
  • FEATURE: Sezzle Widget and Sezzle Payment merged into one plugin.
  • FIX : Amount converted to cents while refund.


  • FIX: Page hanging issue during order status change for other payment methods.


  • FIX: Security fix and quality improvements.


  • FEATURE: Delayed Capture.
  • FEATURE: Sezzle Widget for Cart Page.
  • FEATURE: New settings for managing Sezzle Widget.