1. Build Integration
Integrate Curlec with your Wix website.
Follow the steps given below to integrate Curlec Payment Gateway with your Wix website.
1.1
.1.2
.1.3
.To generate the
:- Log in to the .
- Navigate to Settings and generate API keys.
Handy Tips
- Using the Test keys helps simulate a sandbox environment. No actual monetary transaction happens when using the Test keys.
- Use Live keys once you have thoroughly tested the application and are ready to go live. Know how to .
- Navigate to your and switch to editor mode.
- Click Settings.
- Click Accept Payments.
- Select Curlec and click Connect.
- Enter your API Key and API Secret Key and click Connect.
- You have successfully connected your Wix site with Curlec.
Handy Tips
Make sure that the webhook with URL https://express.razorpay.com/wix/v1/webhook-handler
is added and the following events are subscribed:
order.paid
refund.processed
payment.failed
You can track the payment status in three ways:
- .
- .
- .
Handy Tips
- On the Dashboard, ensure that the payment status is
captured
. Refer to the payment capture settings page to know how to . - Subscribe to our webhooks or poll the Fetch a Payment API to track the payment status.
To verify the payment status from the Dashboard:
- Log in to the and navigate to Transactions → Payments.
- Check if a Payment Id has been generated and note the status. In case of a successful payment, the status is marked as Captured.
You can use Curlec webhooks to configure and receive notifications when a specific event occurs. When one of these events is triggered, we send an HTTP POST payload in JSON to the webhook's configured URL. Know how to
If you have subscribed to the order.paid
webhook event, you will receive a notification every time a customer pays you for an order.
to check the payment status.
Step 2:
Is this integration guide useful?