Good day! Tell me, did anyone implement in their applications payment via Yandex.cash? The description of api says that you can use sdk for android . I added the library, wrote the code for calling the activation of the payment:

PaymentParams params = new P2pTransferParams.Builder("1234567812345678") .setAmount(new BigDecimal(1)) .build(); Intent intent = PaymentActivity.getBuilder(getBaseContext()) .setPaymentParams(params) .setClientId(CLIENT_ID) .setHost(HOST) .build(); startActivityForResult(intent, REQUEST_CODE); 

But in the activation error is displayed Nothing happens. The ability to pay with this bank card in the application is blocked . The log shows that the following json-answer comes {"status": "refused", "error": "illegal_param_client_id"} . The application is registered in Yandex.Money. If I use the CLIENT_ID from the github example, then everything works. Tell me, what could be the reason?

  • Hi, I have the exact same problem, if you find a solution, please let me know whoose.daddy@gmail.com skype: whoose.daddy - Hank Moody

1 answer 1

Problem in CLIENT_ID. It should work out of the box, your request is rejected on the server. Check the id, if possible, get another id. If nothing helps, in those. Yandex support