A
A
Anton Plawkevich2019-08-21 09:53:40
WooCommerce
Anton Plawkevich, 2019-08-21 09:53:40

Tinkoff - buy on credit (woocomerce)?

Good day, the problem is that I'm trying to shove the button from the Tinkoff (buy on credit), there is a default button from the Tinkoff itself with the parameters:

<form action="https://loans-qa.tcsbank.ru/api/partners/v1/lightweight/create" method="post">
<input name="shopId" value="test_online" type="hidden"/>
<input name="showcaseId" value="test_online" type="hidden"/>
<input name="promoCode" value="default" type="hidden"/>
<input name="sum" value="99000.00" type="hidden">
<input name="itemName_0" value="Apple iPhone 7 256 GB Onyx" type="hidden"/>
<input name="itemQuantity_0" value="1" type="hidden"/>
<input name="itemPrice_0" value="59000.00" type="hidden"/>
<input name="itemCategory_0" value="iPhone Apple" type="hidden"/>
<input name="itemName_1" value="Apple iPhone 6S 128GB Onyx" type="hidden"/>
<input name="itemQuantity_1" value="1" type="hidden"/>
<input name="itemPrice_1" value="40000.00" type="hidden"/>
<input name="itemCategory_1" value="iPhone Apple” type="hidden"/>
<input name="customerEmail" value="[email protected]" type="hidden"/>
<input name="customerPhone" value="+79031234567" type="hidden"/>
<input type="submit" value="Купи в кредит"/>
</form>

I rewrite the default values, the dynamics of the wokomers and the form itself breaks right away, I would like to clarify if anyone has integrated it or encountered this, I will be grateful for the help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question