Button generator
If you have previously created your services and plans in Uelz, you can select the service and plan you want from the list, and a small HTML code will be automatically generated for you to copy and paste into your website or system where you want to place the button.
Button with plans and services created previously in Uelz
If you have already created your services and plans in Uelz, you can select the service and plan you want from the list, and a small HTML code will be automatically generated for you to copy and paste into your website or system where you want to place the button.
Button with plans and services created from your website
With just one button, you can set up unique payment plans or subscriptions with the desired charge amount.
The script gathers the user's ID and service data through various attributes. Explore the attribute information for more details. Next, you'll need to fill in all the attributes to generate the plan according to the parameters you want.
Attributes for services and plans
The following attributes correspond to the creation of services and plans, which involves defining features, pricing, subscription terms, and customization options for each offering, whether it's subscription-based or one-time payment.
Attributes | Descripción | Example |
---|---|---|
data-service-name string | Service name | Ex: Conferencias |
data-plan-name - string | Plan Name | Ex: Regional |
data-plan-description - string | Add a description to the plan | Ex: Description of the service |
data-plan-amount- string | Value associated with the plan | Ex: 55.50 In variable subscriptions, this value indicates the unit price. |
data-plan-currency- string | Currency of charge | Ex: EUR (Only euros can be sent) |
data-plan-type- string | Specify whether the plan is unique or subscription-based. | Choose betweenUnique or Subscription |
Fixed One-Time Plan
This is an example of attributes for a one-time payment service and plan created.
<button class="uelz-button uelz-button-styles"
id="uelz-button"
data-service-name="Mentorias"
data-plan-name="Sabado"
data-plan-description="Descripción del servicio"
data-plan-amount="20.0"
data-plan-currency="EUR"
data-plan-type="Unique"
>Comprar</button>
Attributes only for subscription plans
The following attributes are related to customizing the billing cycle for recurring payments, allowing for the adjustment of payment schedules according to preferences and needs.
Attributes | Description | Example |
---|---|---|
data-plan-frequency string | Frequency with which the payment is made | Choose betweenday , week , month , quarterly , semiannually , year |
data-plan-billing-cycles string | Number of billing cycles | Minimum 2 . If not added, it will be an infinite cycle. |
data-plan-payment-day string | Day on which the payment is made | Add a day between 1 and 31 (last day of the month) |
Fixed Subscription Plan
This is an example of attributes for a recurring payment where the attributes of type data-plan-type have been modified by adding the "Subscription" label, and variables of frequency, cycles, and payment day have been added.
<button class="uelz-button uelz-button-styles"
id="uelz-button"
data-service-name="Conferencias"
data-plan-name="Regional"
data-plan-description="Descripción del servicio"
data-plan-amount="55.50"
data-plan-currency="EUR"
data-plan-type="Subscription"
data-type-subscription="fixed"
data-plan-frequency="month"
data-plan-billing-cycles="2"
data-plan-payment-day="25"
>Comprar</button>
Attributes for variable subscription
These attributes refer to subscription plans that offer dynamic pricing structures, which may vary throughout the billing period based on consumption.
Attributes | Description | Example |
---|---|---|
data-type-subscription string | It is where we indicate if the price will vary in different periods or not | Options variable or fixed |
data-future-charge-action string | It tells us if we don't charge for that period if consumption units are not passed to us, or if we charge for the previous month's usage | Options no_charge or last_charge |
data-consume-units string | Customers who have consumed the plan during that period of time | Ex: 6 |
data-external-usage-id string | ID that relates your database with the data you send us | Ex: abc2sr5tgd |
Variable Subscription Plan
This is an example of attributes for a recurring payment where the attributes of type data-plan-type have been modified by adding the "Subscription" label, and variables of frequency, cycles, and payment day have been added.
<button class="uelz-button uelz-button-styles"
id="uelz-button"
data-service-name="Conferencias"
data-plan-name="Regional"
data-plan-description="Descripción del servicio"
data-plan-amount="55.50"
data-plan-currency="EUR"
data-plan-type="Subscription"
data-type-subscription="fixed"
data-plan-frequency="month"
data-plan-billing-cycles="2"
data-plan-payment-day="25"
data-type-subscription="variable"
data-future-charge-action="last_charge"
data-consume-units="6"
data-external-usage-id="abc2sr5tgd"
>Comprar</button>
Optional attributes
Additionally, to recognize customers who have registered accounts on your website. This will allow you to provide them with an even smoother and personalized shopping experience.
Attributes | Description | Example |
---|---|---|
data-customer-email string | Customer Email | Ex: [email protected] |
data-customer-cif string | ID Number - Passport - CIF of the customer | Ex: 50130508Z |
data-customer-type string | Customer Type | Options COMPANY or PERSON (Default is PERSON ) |
data-name string | Customer Name | Ex: María Only for PERSON type customers. |
data-surname string | Customer Surname | Ex: Luke Only for PERSON type customers |
data-company-name string | Company Name | Ex: Uelz Company Only for COMPANY type customers. |
data-prefix string | Phone Number Prefix with the '+' symbol | Ex: +34 |
data-phone string | Customer Phone Number | Ex: 623039754 |
data-country string | Customer Country in ISO 3166-1 alpha 2 code | Ex: ES |
data-city string | Customer City | Ex: Valencia |
data-postal-code string | Customer Postal Code | Ex: 46024 |
data-address string | Customer Address | Ex: Edificio Angels, Sc Puerto, 13 |
data-customer-not-editable string | If you add this attribute, customers will not be able to edit their data | This attribute is boolean. If added, it means it is True. |
data-external-product-id string | Product ID purchased by the customer in your database | Ex: 0012-ABC |
data-external-customer-id string | Customer identification number in your database (BBDD) | Ex: xtrjko98 |
data-external-order-id string | Order identification number in your database (BBDD) | Ex: prder-JDE-003 |
Updated 9 months ago