Accounts
A payment account is a way to receive payment when placing an order. You can create multiple accounts for different types of payments, such as connecting a payment system or adding cash payments.
The tools for working with accounts are located in the "Accounts" subsection in the "Payments" section. Already created payment accounts are in the general list. Below is a form for creating new payment accounts.
Types of Payment Accounts.
Currently, there are two types of payment accounts available in the system.
Stripe
OneEntry Headless CMS supports integration with the Stripe payment system. Choose this type if you want to connect the Stripe payment system to your project. More details on connecting Stripe to OneEntry Headless CMS can be found here.
Custom
If you want to use another payment system or accept cash payments, use this type of payment accounts.
Creating a Payment Account
In the payment account creation form, specify:
- Name - Non-unique string
- Type - Value from the dropdown list.
- Token - Unique string.
After filling out the form, click the "Add" button. If all fields are filled out correctly, the payment account will be created and added to the general list.
Editing a Payment Account
Select the payment account you want to edit from the list and click on the edit icon .
In edit mode, you can change:
- Name
- Type
- Token
Changes will be saved automatically.
Hiding a Payment Account
If you no longer want to use a payment account and cannot delete it because it is already in use in the project, you can hide it.
To do this, click the "eye" icon on the selected account.
Hidden payment accounts will not be offered by the system for selection when setting up the order storage.
Deleting a Payment Account
Select the payment account you want to delete from the list and click the delete icon .
Confirm the action in the dialog box. After that, the payment account will be deleted and will disappear from the general list.
.