Giter Club home page Giter Club logo

wirecard_checkout_page's Introduction

UNMAINTAINED BECAUSE WIRECARD IS BANKRUPT

WirecardCheckoutPage

Example usage

Gateway setup

gateway = WirecardCheckoutPage::Gateway.new(
  customer_id: 'D200001',
  secret:      'B8AKTPWBRMNBV455FG6M2DANE99WU2',
)

Init a new payment process

params = {
  amount:           '100.00',
  cancelUrl:        'https://foo.com/cancel',
  confirmUrl:       'https://foo.com/confirm',
  currency:         'EUR',
  failureUrl:       'https://foo.com/failure',
  language:         'en',
  orderDescription: 'order',
  orderReference:   '123',
  paymentType:      'SELECT',
  serviceUrl:       'https://foo.com/service',
  successUrl:       'https://foo.com/success',
}

response = gateway.init(params)

puts response.success?
#=> true

puts response.params
#=> { payment_url: 'http://example.com/redirect_your_user_to_here' }

Badges

Code Climate

Test Coverage

TODOS

[] Document the toolkit features

wirecard_checkout_page's People

Contributors

flori avatar xijo avatar jaynetics avatar

Watchers

Daniel Hahn avatar Johannes Kulick avatar  avatar Tobias avatar James Cloos avatar Axel avatar Marco Pagni avatar  avatar

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.