Sha256: 26fea1cfce5bfef5dedc76aa09eac3f3d9cde85f0aefeab2b0984cb6adc477bb
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 KB
Contents
# WirecardCheckoutPage ## Example usage Gateway setup ```ruby gateway = WirecardCheckoutPage::Gateway.new( secret: YOUR_SECRET, customerId: YOUR_ID ) ``` Init a new payment process ```ruby params = { fingerprint_keys: ["secret", "customerId", "amount", ..], # Put in all your fingerprint keys currency: 'EUR', language: 'en', amount: '100.00', paymentType: 'SELECT', orderDescription: 'Your order no 1', successURL: 'http://example.com/success', cancelURL: 'http://example.com/cancel', failureURL: 'http://example.com/failure', serviceURL: 'http://example.com/service', confirmURL: 'http://example.com/confirm', orderReference: YOUR_UNIQUE_ORDER_REFERENCE, } response = gateway.init(params) puts response.success? #=> true puts response.params #=> { payment_url: 'http://example.com/redirect_your_user_to_here' } ``` ## Badges [![Code Climate](https://codeclimate.com/github/flori/wirecard_checkout_page/badges/gpa.svg)](https://codeclimate.com/github/flori/wirecard_checkout_page) [![Test Coverage](https://codeclimate.com/github/flori/wirecard_checkout_page/badges/coverage.svg)](https://codeclimate.com/github/flori/wirecard_checkout_page) ## TODOS [] Document the toolkit features
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wirecard_checkout_page-0.1.0 | README.md |