D
D
Denis2020-06-01 18:28:24
Android
Denis, 2020-06-01 18:28:24

Why might Google Pay & Sber payment fail?

On the android side, a payment request is generated. The response from Google Pay is returned, all is well.
Then we take the token from the answer and give it to the "collector". Error 10 is constantly returned - incorrect value of the tokenPay parameter.

In this regard, questions arose on some fields of the request:

.put(
    "tokenizationSpecification", JSONObject()
        .put("type", "PAYMENT_GATEWAY")
        .put(
            "parameters", JSONObject()
                .put("gateway", gateway)
                .put("gatewayMerchantId", gatewayMerchantId)
        )
)
.....
.put("merchantInfo", JSONObject()
    .put("merchantName", merchantName)
    .put("merchantId", merchantId)
)


gateway - sberbank everything is clear
here, but not quite with gatewayMerchantId, merchantName, merchantId. Where does each value come from?

Has anyone experienced something similar?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Gavrilov, 2020-06-02
@thexaver

You conclude an acquiring agreement with Sberbank, they will issue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question