Billwerk+ Subscription for WooCommerce
This guide shows you how to configure Billwerk+ Optimize for WooCommerce.
Note
Billwerk+ Pay and Billwerk+ Optimize are two parts of the former Reepay application. The application was not renamed everywhere yet, so you might still find functionalities with the old name as shown in this article.
Please watch these tutorials:
Billwerk+ Optimize: Subscription Plugin for WooCommerce (Walkthrough)
Billwerk+ Optimize: Subscription Plugin for WooCommerce: How to import customers
Setup and configuration
Please ensure first that you have Optimize Checkout for WooCommerce installed.
![Reepay_Checkout_for_Woocommerce.png](../../image/166bb81543a167.png)
Find the Optimize Subscription for WooCommerce plugin in WordPress Plugin Directory, install it, and activate it.
Note
The logo and text might have changed.
![Reepay_Subscriptions.png](../../image/166bb81543d489.png)
Once activated, you need to head over to WooCommerce → Settings → Optimize Subscription Settings. Here you need to paste in your private keys, which have to be the same key, as you have used for Billwerk+ Checkout. Please also enable test API mode, to use your test private key from your test Billwerk+ account.
Caution
Private keys have to be the same keys as those used for Optimize Checkout!
![Woocommerce_Reepay_Subscription_Settings.png](../../image/166bb815440702.png)
Create product and plan
Now you can head over to Products and click on Add new product. In the Product data section, you can choose between :
Both versions are built upon the normal WooCommerce logic about Simple and Variable products.
![Woocommerce_conditional_logic_Product___plan.png](../../image/166bb815444179.png)
Optimize Simple Subscription
For Optimize Simple Subscription you have these options:
Either you can create a new plan .
or you can reuse an existing plan.
Note
Plans can also be created and managed in the Billwerk+ Admin.
If you are just testing, you can use the same values as in the screenshot below. Remember to click on Create plan at the bottom.
![Woocommerce_add_new_product.png](../../image/166bb815447d3e.png)
Now your plan is created and attached to your WooCommerce product. To verify this, you should be able to see the plan now as chosen under Choose existing plan. Here you have also the option to update the plan, but notice the Supersede Mode section.
![Woocommerce_Edit_product.png](../../image/166bb81544b96f.png)
If you want to attach some Add-ons to the plan, you can click on the Add-ons section and click New add-on. Here you will see a similar view, where you can either Create new add-on or Choose existing add-on.
![Woocommerce_Reepay_Simple_Subscription.png](../../image/166bb81544f4ce.png)
After you have created a couple of add-ons you will see something like this. Remember to save.
![Woocommerce_Simple_Subscription_Save.png](../../image/166bb815452a15.png)
Optimize Variable Subscription
If you would like to create an Optimize Variable Subscription instead, you will see something like this after heading to the Variations section:
![WooCommerce_Standard_Plan.png](../../image/166bb815455e11.png)
Same principle as before: Either Create new plan or Choose existing plan.
Subscription-based shipping
If you are selling box subscriptions and need to charge your customer for shipping at each renewal, you can configure add-on-based shipping.
Simply go to WooCommerce → Settings → Shipping .
Click one of your zones → Add flat rate shipping method.
Then create a new add-on or choose the add-on you would like to use in the Optimize Add-on section.
Note
If you create a new add-on, the amount would be whatever you have typed into the cost field.
![WooCommerce_Flat_Rate_Settings.png](../../image/166bb81545a76e.png)
Coupons and Discounts
In WooCommerce go to Marketing → Coupons.
Add a coupon.
You will have the option to choose Optimize in Discount type.
Choose between Create new coupon or Use existing coupon.
You can give the coupon a name and choose which plan it should be valid for.
If you choose Create new discount you will have to , whether it should be a fixed amount or percentage, what the discount should apply to, and the duration
specify the amount,
decide, whether it should be a fixed amount or percentage,
select, on what the discount should be applied to,
and set the duration.
E.g. Fixed Number = 3 will give the customer a discount for the next 3 upcoming payments.
![WooCommerce_Coupon_Data.png](../../image/166bb81545dba0.png)
Purchase
Now navigate to the product you created.
Here you can see the price and the duration. In this case 99,00 kr. / Month.
Also, you can see some additional plan information under Subscription details.
Lastly for this product, the customer has the option to select the add-ons you created.
![WooCommerce_Purchase.png](../../image/166bb815461923.png)
Once you have added the product to the basket, you can also try to apply a coupon if you have made a coupon that works for this plan.
![WooCommerce_Purchase_Checkout.png](../../image/166bb815465c5c.png)
Once the discount has been applied it will be visible in the order summary.
![WooCommerce_Billing_Details.png](../../image/166bb815469b98.png)
Orders and subscriptions
When the order is paid, you will be able to find the order under WooCommerce → Orders.
What you see below is the parent order, the subscription is based on.
The actual charges for the subscription will exist as sub orders. Click the Show history button to see sub orders.
![WooCommerce_Suborders.png](../../image/166bb81546da1b.png)
If you click into the parent order, you will see the different products.
You can use the See subscription buttons to quickly jump to Billwerk+ Admin.
The same goes for the Customer Handle link under the Billing section.
![WooCommerce_edit_order.png](../../image/166bb815470d08.png)
If you click on the See subscription button you will go directly to the subscription in Billwerk+, where you can manage it. In the Invoice List you can see INV-71 which also exist in WooCommerce as a sub order to the parent order.
![Reepay_Subscription_from_WooCommerce.png](../../image/166bb815474df6.png)
Here can you see the sub order in WooCommerce:
![Edit_suborder_woocommerce.png](../../image/166bb81547900a.png)
Customers Self Service
You customers are able to manage their subscription under My Account if you have enabled this in WooCommerce.
Under the Optimize Settings in WooCommerce, you can enable or disable the options to Put On Hold and Cancel Subscription.
The option to Add Payment Method is there by default.
![My_Account_WooCommerce.png](../../image/166bb81547d6c6.png)