Sha256: d41b0460fae176c214b39aa593c74c22b76ab241be6fac5c411f2dedd49a2fe5
Contents?: true
Size: 446 Bytes
Versions: 7
Compression:
Stored size: 446 Bytes
Contents
require 'mollie-api-ruby' begin payment = Mollie::Payment.create( amount: 10.00, description: 'My first payment', redirectUrl: 'https://webshop.example.org/order/12345/', webhookUrl: 'https://webshop.example.org/payments/webhook/', metadata: { order_id: '12345' }, api_key: 'test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM' ) rescue Mollie::Exception => e puts 'An error has occurred: ' << e.message end
Version data entries
7 entries across 7 versions & 1 rubygems