1C-Bitrix has a ready-made module: it adds MulenPay to the store's payment systems, redirects the customer to the payment page and updates the order status itself once the payment is confirmed.
What the module does
- Registers as a regular Store payment system — the customer picks it at checkout.
- Creates the payment and sends the customer to the MulenPay payment page.
- Receives the result notification and changes the order status automatically.
- Supports cards, SBP and Pay services with no separate connections.
What to check after connecting
- Place a full test order: the status must change without a manager touching it.
- Make sure the currency in the module settings matches your catalogue currency.
- Check that
webhook.phpis reachable from outside — on closed staging it never gets the callback. - Look at how the payment method renders in the mobile checkout.
If the order status never changes
It is almost always the webhook: the wrong address, protected by auth, or answering with something other than 200. Check it before digging into the payment itself. The difference between cancelling and refunding is covered in a separate answer.