Code Monkey home page Code Monkey logo

sdk-ruby's People

Contributors

grillepitch avatar oleksiikliuiev avatar orest-kostiuk avatar p1366 avatar viplifes avatar vladzaets avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sdk-ruby's Issues

err_access

Hi!

I am getting err_access error, which does not explain anything. What does it mean? Anyone has the similar issue?

{"result"=>"ok", "status"=>"error", "err_code"=>"err_access", "err_description"=>"err access"}

Ошибка в формировании сигнатуры

Формирование сигнатуры
Подставляю ваши даные

def liqpay_test
secrets = Rails.application.secrets
liqpay_full = Liqpay::Liqpay.new(
:host => 'https://www.liqpay.com/api/',
:private_key => 'private_key',
:public_key => 'public_key'
)
liqpay_full.cnb_form(
:amount => "1.2",
:currency => "USD",
:description => "my comment",
:language => "en"
)
end
Сигнатура такая как в тестах

Когда формирую форму со своими данными

<form method="post" action="https://www.liqpay.com/api/pay" accept-charset="utf-8"> <input type="hidden" name="order_id" value="10-1405263172-send_cv"> <input type="hidden" name="amount" value="300"> <input type="hidden" name="currency" value="UAH"> <input type="hidden" name="description" value="Send my CV: Voloshin Ruslan ([email protected])"> <input type="hidden" name="sandbox" value="1"> <input type="hidden" name="type" value="buy"> <input type="hidden" name="server_utl" value="http://icrewing.com/orders/confirm"> <input type="hidden" name="return_url" value="http://icrewing.com/orders/status/10-1405263172-send_cv"> <input type="hidden" name="public_key" value="i74346430130"> <input type="hidden" name="signature" value="6imi1pW1Sj3iSPQuabkyAAORa/c="> <input type="image" src="//static.liqpay.com/buttons/p1ru.radius.png" name="btn_text"> </form>
Ваш сервег пишет что сигнатура не верная, не могли бы вы проверить правильность работы подписывания.

Хотя странно, пару раз у меня она оказывалась верной.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.