Gallery
Zyllio Documentation English
Share
Explore
Tutoriels

icon picker
Stripe Payments

info
Available from the Enterprise plan.
info
The Zyllio platform does not charge any fees on payments made through Stripe.
Stripe is an online payment infrastructure that allows businesses to manage and accept payments securely.
By integrating Zyllio with Stripe, you will benefit from its robust features, such as payment management, recurring billing, fraud protection, and much more.

Prerequisites

A valid Stripe account is required to connect the Stripe and Zyllio solutions.
Additionally, a subscription to the Zyllio Enterprise plan is needed to activate this feature.

Configuration

The Stripe integration can be activated from the Settings tab / Integration / Stripe by enabling the Enable button as shown in this image
image.png

Connect Your Stripe Account

Next, click the Connect with Stripe button to link your account with the Zyllio platform.
image.png
Log in and click on Submit.
image.png
Finally, click the Connect button.
Close the tab when the following message appears: “Your Stripe account has been connected. Please close this window.”

Test and Production Mode

We recommend conducting all your Zyllio application design and payment testing in Test Mode.
During the testing period, the Production Mode option should be disabled.
info
Production mode can be enabled once the application is finalized.

Currency

The currency parameter allows you to specify the currency for payments in your mobile application
Name
Currency
1
Dollar
USD
2
Euro
EUR
There are no rows in this table

Creating Users

From the Database tab, click and drag a Users table into the workspace.
image.png
This way, Zyllio creates a ready-to-use table with 2 sample users.
image.png

Creating Products

From the Database tab, click and drag a Products table into the workspace.
image.png
This way, Zyllio creates a ready-to-use table with 7 sample products.
image.png

Creating Catalog Screens

From the Designer tab, select the List screen template and then select the Products table.
image.png
Click and drag the screen to create this first screen, then rename the screen to Products.
image.png
Next, create a detail screen by selecting a Details screen template, then choose the Products screen, and finally select the Products component.
image.png
Click and drag the screen to create this new screen, then rename it to Details.
Finalize the detail screen as follows:
Remove the Currency and PriceId components from the screen.
Change the Price component to a Formula, then select the Currency format and the € symbol.
Modify the Price component and change the Label property to Price.

image.png
And link the two screens from the Flow tab.
image.png

Authentication

Create an authentication screen using a Login screen template and then select the Users table.
Next, link the Enter button to the Products screen.
image.png
Designate the Login screen as the startup screen by clicking on the icon as shown below.
image.png

Creating a Cart

Add an Add to Cart button in the Details screen.
image.png
Define an Add Product action and fill in the following properties:
Propriété
Type
Valeur
1
Image
Variable
Products/Image
2
Price Id
Variable
Products/PriceId
3
Name
Variable
Products/Name
4
Description
Variable
Products/Description
5
Price
Variable
Products/Price
6
Currency
Variable
Products/Currency
7
Quantity
Fixed
1
There are no rows in this table
You will get:
image.png
Next, create a screen called Cart to display the cart.
Select a Cart component by choosing Fixed.
image.png
Drag the component into the screen as follows:
image.png
Link the Add To Cart button to the Cart screen.
image.png

Creating a Payment Button

Add a button called Pay that uses the Process Payment action
image.png

Define Stripe Products

Log in to the Stripe portal and switch to test mode
error

It is important to qualify your Stripe integration in test mode before switching to production mode.

Click on the Test mode button:
image.png
Next, add your products one by one as follows:
Create a product.
Enter its name.
Enter its description.
Upload its image.
Set the pricing mode to One-Off (one-time).
Enter its price, ensuring the correct currency is selected.
image.png
Once the product is created, copy its Price ID by clicking on the Copy price ID menu.
image.png
To paste it into the Zyllio Products table as follows:
image.png
info
At this stage, your application is ready to accept payments in test mode.

Testing a Payment

When conducting interactive tests, use a card number of type:
Enter this card number in the Dashboard or in a payment form.
Use a valid expiration date such as 12/34.
Use any three-digit CVC code (four digits for American Express cards).
Use any value of your choice for the other fields in the form.
image.png
Payments appear in the Transactions section.
image.png

Reconciling in Zyllio

Zyllio captures successful payments in a specific table called Orders. Simply create it from the table templates in the Database tab.
image.png
Here is an example of a successful transaction
image.png

Displaying User Orders

Simply create a new screen called Orders that lists the contents of the Orders table.
image.png
A filter is needed to display only the orders of the authenticated user.
image.png

Errors

Error
Stripe message
Reason
1
The payment failed, code 01
The price parameter should be the ID of a price object, rather than the literal numerical price. Please see https://stripe.com/docs/billing/prices-guide#create-prices for more information about how to set up price objects.
One or more products have a priceId that is not declared in the Stripe catalog.
2
The payment failed, code 01
The specified price supports currencies of `eur`, which does not include the expected currency of `usd`.
The currency of a product does not match the currency of the Stripe integration in the Zyllio Settings.
3
The payment failed, code 02
Requires payment method
The payment method is not valid.
4
The payment failed, code 03
Status unknown
Should not occur.
There are no rows in this table

Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.