In CloudPayments:
-
Create new site
-
Share access with web2wave team by adding clients+[your_project_title]@web2wave.com to https://merchant.cloudpayments.ru/users
-
From Site settings, send us your Public key & Payment password
-
Add Notifications URL to all events
-
Turn on notifications and specify endpoints as follows:
Pay, Fail, Confirm notifications:
https://YOURDOMAIN.web2wave.com/webhook/cloudpayments
Refund notifications:
https://YOURDOMAIN.web2wave.com/webhook/cloudpayments/refund
Recurrent notifications:
https://YOURDOMAIN.web2wave.com/webhook/cloudpayments/recurrent
Cancel notifications:
https://YOURDOMAIN.web2wave.com/webhook/cloudpayments/cancel
In web2wave
- Go to Project settings
- Type on keyboard: iddqd to show CloudPayments settings
- In "Cloud Payments" tab fill:
- Public ID
- Пароль для API
- CloudPayment Webhook Endpoint. Добавьте его в "Сайты -> Уведомления" во все типы уведомлений
To create CloudPayments prices, go to web2wave → Plans and Prices,
-
Type iddqd
-
Create New plan
Fill in:
-
Payment system - Cloud payments
-
Live / Demo mode
-
Сome up with External ID (like projectName_123)
-
Name the plan
Description / Source data – optional
-
-
Create a New price
Fill in:
- Сome up with External ID (like priceName_123)
- Currency
- Amount
- Interval
- Period
You only need prices in your web2wave project — Cloud Payments requires no additional setup.