Payment Overview
Momen’s payment feature lets you handle collections and refunds through built-in actions. Configure the payment action on the frontend and set up the business logic in the backend action flow to complete your monetization loop.
This feature is only available for Pro and Enterprise users. If your Pro plan expires, the payment feature stops working. Please renew in time.
Supported Payment Gateways
Momen integrates the following payment gateways:
- Stripe: Supports one-time payments, subscriptions, and more.
- Airwallex: Supports international payments, multi-currency transactions, and subscription renewals.
Refer to the specific configuration guides based on your business needs.
Activate Payment
Before configuring a payment gateway, you must bind an Order Table and activate the payment feature.
Momen does not impose specific requirements on the fields in the order table. Developers can freely define fields. However, for better integration with the payment feature, it is recommended to include at least two fields: amount and status, and establish a relationship with the account table.
After activation, Momen automatically performs these operations in your project:
- Create three system tables:
Payment Table(payment_record): Records every payment transaction. It has a 1:N relationship with the Order Table.Recurring Payment Table(recurring_payment): Records user subscription statuses.Refund Table(refund): Records every refund transaction. It has a 1:N relationship with the Payment Table.
- Create preset action flows: Based on the activated gateway, the system generates the corresponding backend Webhook action flows (such as payment/refund callbacks or subscription renewals).
All payment products share the same Order Table. Once bound, you cannot change or delete the Order Table unless you completely disable payment in the configuration panel, clear all data, and rebind.
Clear and Disable Payment
You can find a Clear and Close button in the top right corner of the payment configuration page. Use it with extreme caution!
About the “Clear and Close” Feature
Executing “Clear and Close” completely closes the payment feature. This is a highly destructive and irreversible operation. It triggers the following changes:
- Erase sensitive configurations: Completely clears all underlying configuration data, such as API Keys and merchant IDs.
- Destroy data tables: Forcibly deletes the system-generated
Payment Table,Recurring Payment Table,Refund Table, and their relationships. If you published the project, Momen permanently deletes the online historical data for these tables. - Remove action logic: Deletes all preset payment action flows and callback triggers. All logic bound to payment-related actions becomes invalid.
Note: When you reactivate the payment feature, the system creates a completely new set of data tables, action flows, and callback triggers. You cannot link them to previous data.