Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author alex shandor

    (@mvshandor)

    LiqPay write – Тип операции. Possible values: pay – платеж, hold – блокировка средств на счету отправителя, paysplit – разбивка суммы, subscribe – регулярный платеж, paydonate – пожертвование . Try in demo – pay change to hold. If this wil be good, next step – Hold Completion

    Thread Starter ADvi

    (@advi)

    Простите, но в обновлении этого не увидел. И ссылки на демо тоже нет нигде..

    Thread Starter ADvi

    (@advi)

    Пожалуйста, укажите место в коде, где необходимо поменять значение на hold

    Thread Starter ADvi

    (@advi)

    И с новой версией появилась ошибка при нажатии на кнопку оформления заказа {"result":"failure","messages":"<ul class=\"woocommerce-error\">\n\t\t\t<li>We were unable to process your order, please try again.<\/li>\n\t<\/ul>\n","refresh":"true","reload":"false"}

    Plugin Author alex shandor

    (@mvshandor)

    Thanks, fixed. Because I wrote yerstaday at 2.00
    after 234 line – add
    ‘action’ => ‘hold’,

    Thread Starter ADvi

    (@advi)

    Thanks for quick answer. I’ve tried to add this line couple days ago before I’ve wrote my messge here. But ‘action’ => ‘hold’ doesn’t work.
    I’ve contacted LiqPay support, they say that they couldn’t see such request from plugin (they see plugin POSTs only PAY action, not HOLD). Accordingly, money doesn’t hold on the card.
    What can I do in this case, would you be so kind to advise?

    Thread Starter ADvi

    (@advi)

    Liqpay told me the request with this function is building wrong and they get wrong data and signature as a result.

    Plugin Author alex shandor

    (@mvshandor)

    In SDK https://github.com/liqpay/sdk-php/blob/master/LiqPay.php – line 70 – reqest to server

    And These exemple

    $liqpay = new LiqPay($public_key, $private_key);
    $res = $liqpay->api(“payment/hold”, array(
    ‘version’ => ‘3’,
    ‘phone’ => ‘380950000001’,
    ‘amount’ => ‘1’,
    ‘currency’ => ‘USD’,
    ‘description’ => ‘description text’,
    ‘order_id’ => ‘order_id_1’,
    ‘card’ => ‘4731195301524634’,
    ‘card_exp_month’ => ’03’,
    ‘card_exp_year’ => ’22’,
    ‘card_cvv’ => ‘111’
    ));

    include all methods in my plugin-file and replace generate form to CURL request

    Thread Starter ADvi

    (@advi)

    Can you please implement it for me to test? I’ve tried, but only got white screen of death ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Hold feature’ is closed to new replies.