Usage examples

Attention. This is an old version of the API. Switch to the Yandex.Checkout API.

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).

You can test payments using the demo store: 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).