Sha256: a4feeb004a05ec0e1d5e9c617227f5c9d40bd9dc7219676a3a9a7e926e7441fa
Contents?: true
Size: 407 Bytes
Versions: 7
Compression:
Stored size: 407 Bytes
Contents
require 'mollie-api-ruby' begin subscription = Mollie::Customer::Subscription.create( amount: "20.00", times: 4, interval: "3 months", description: "Quarterly payment", webhook_url: "https://webshop.example.org/payments/webhook/", 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