Sha256: fdde6b85e8f46f1acb1629aafe849496e726d39f021519662ba9b9b0931af05a
Contents?: true
Size: 635 Bytes
Versions: 3
Compression:
Stored size: 635 Bytes
Contents
module IyziPay module Model class PaymentPostAuth < IyziPayResource def create(request = {}, options) pki_string = to_pki_string(request) HttpClient.post("#{options.base_url}/payment/iyzipos/postauth", get_http_header(pki_string, options), request.to_json) end def to_pki_string(request) PkiBuilder.new.append_super(super). append(:paymentId, request[:paymentId]). append(:ip, request[:ip]). append_price(:paidPrice, request[:paidPrice]). append(:currency, request[:currency]). get_request_string end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iyzipay-zebramo-1.0.39 | lib/iyzipay/model/payment_post_auth.rb |
iyzipay-zebramo-1.0.38 | lib/iyzipay/model/payment_post_auth.rb |
iyzipay-zebramo-1.0.37 | lib/iyzipay/model/payment_post_auth.rb |