code-simpleNuxtPro

NuxtProarrow-up-right supports using BagelPayarrow-up-right for payments, which can be used for product payments, membership subscriptions, credit purchases, and other scenarios.

How to setup

chevron-rightStep1: Register a BagelPayarrow-up-right accounthashtag
chevron-rightStep2: Create a store in the BagelPay dashboardarrow-up-righthashtag
chevron-rightStep3: Create productsarrow-up-righthashtag
chevron-rightStep4: Generate API keys in developer centerarrow-up-righthashtag
chevron-rightStep5: Generate webhook endpointhashtag

Click on the "Create webhook" button in the "Webhooksarrow-up-right" tab.

Register your publicly accessible HTTPS URL endpoint.

  • Webhook Name: Used to identify your webhook in the platform.

  • Webhook URL: The URL that will receive the webhook payloads sent by bagelpay.io

NuxtPro Configuration

Fill in the BagelPay-related configuration information in the NuxtPro project .env file.

References

Last updated