WebSite X5Help Center

 
Юрий Кириллов
Юрий Кириллов
User

Trouble connecting payments !!!  ru

Author: Юрий Кириллов
Visited 1119, Followers 1, Shared 0  

<form action="https://secure.sandbox.webpay.by:8843/" method="post"> 
<input type="hidden" name="*scart"> 
<input type="hidden" name="wsb_version" value="2">
<input type="hidden" name="wsb_language_id" value="russian">
<input type="hidden" name="wsb_storeid" value="380589884" >
<input type="hidden" name="wsb_store" value="Kaizergrill" >
<input type="hidden" name="wsb_order_num" value="ORDER-12345678" >[ORDER_NO] 
<input type="hidden" name="wsb_test" value="1" >
<input type="hidden" name="wsb_currency_id" value="BYR" > ??????????
<input type="hidden" name="wsb_seed" value="1242649174">
<input type="hidden" name="wsb_return_url" value="http://your site url.com/success.php">
<input type="hidden" name="wsb_cancel_return_url" value="http://your site url.com/cancel.php">
<input type="hidden" name="wsb_notify_url" value="http://your site url.com/notify.php">
<input type="hidden" name="wsb_email" value="***" >
<input type="hidden" name="wsb_phone" value="22-333-333" >
<input type="hidden" name="wsb_invoice_item_name[]" value="Товар 1"> ??????????
<input type="hidden" name="wsb_invoice_item_quantity[]" value="2">       ??????????
<input type="hidden" name="wsb_invoice_item_price[]" value="10000">     ??????????
<input type="hidden" name="wsb_invoice_item_name[]" value="Товар 2">  ??????????
<input type="hidden" name="wsb_invoice_item_quantity[]" value="1">        ??????????
<input type="hidden" name="wsb_invoice_item_price[]" value="500">         ??????????
<input type="hidden" name="wsb_total" value="21950" > [PRICE]
<input type="hidden" name="wsb_signature" value="40aa8af3ce7a1f7c3635ac2227475094a59d574c" >
<input type="hidden" name="wsb_tax" value="1050">
<input type="hidden" name="wsb_shipping_name" value="Стоимость доставки" > ??????????
<input type="hidden" name="wsb_shipping_price" value="980" > ??????????
<input type="hidden" name="wsb_discount_name" value="Скидка на товар" > ??????????
<input type="hidden" name="wsb_discount_price" value="580" > ??????????
<input type="submit" value="Купить">
</form>

?????????? - ОБЯЗАТЕЛЬНО !!!

?????????? - желательно

Posted on the
1 ANSWERS - 1 USEFUL
Incomedia
Claudio D.
Incomedia

Hello Юрий Кириллов,

In wsb_currency_id you need to enter the currency you use. The payment system will be able to tell what code you need to enter to make it work.

The options

wsb_invoice_item_name[]
wsb_invoice_item_quantity[]
wsb_invoice_item_price[]
wsb_invoice_item_name[]
wsb_invoice_item_quantity[]
wsb_invoice_item_price[]

wsb_shipping_price

Cannot be filled by the program.

As item name you can add a standard name and for the quantity add 1. For the price you can enter [PRICE] as example.

You need to test with which default values for these fields it will allow you to make the orders.

Many thanks!

***** Google Translation:

ПриветЮрий Кириллов,

Вwsb_currency_idнеобходимо ввестивалютувы используете.Платежная системабудетв состоянии сказать, какой коднужно ввести, чтобы сделать егоработу.

варианты

wsb_invoice_item_name[]
wsb_invoice_item_quantity[]
wsb_invoice_item_price[]
wsb_invoice_item_name[]
wsb_invoice_item_quantity[]
wsb_invoice_item_price[]

wsb_shipping_price

Не могут быть заполненыпрограммой.

Какимя элементавы можете добавитьстандартное имяиколичествадобавить1.По ценеВыможете войти,[PRICE]какпример.

Вам необходимо проверить, с которойпо умолчаниюзначениядля этих полейпозволитвамсделать заказы.

Большое спасибо!

Read more
Posted on the from Claudio D.