Usage examples

This section provides an example of implementing this protocol (version 3.0 using the HTTP protocol for activation and using MWS methods). Source code: examples

To test your own implementation, you will need the parameters that are issued when you activate Yandex.Checkout:

  • shopId — merchant ID

  • shopArticleId — product ID (optional)

  • scid — payment method ID (which is different for testing then for actual payments).

Using the test data, you can make a payment and check whether the methods you implemented are working correctly for verifying order parameters(checkOrder) and sending notifications of successful payment (paymentAviso).