Sha256: b0939b69bb52cabf2a5e7123e59941a2bc83bb8ca09a14d268ceaa997bbafecb
Contents?: true
Size: 967 Bytes
Versions: 19
Compression:
Stored size: 967 Bytes
Contents
class CreatePaypalGateway < ActiveRecord::Migration def self.up login = GatewayOption.create(:name => "login", :description => "Your login email.") password = GatewayOption.create(:name => "password", :description => "Your Paypal API Credentials Password.") signature = GatewayOption.create(:name => "signature", :textarea => true, :description => "Your Paypal API Credentials signature string.") gateway = Gateway.create(:name => "Paypal - Website Payments Pro", :clazz => "ActiveMerchant::Billing::PaypalGateway", :description => "Active Merchant's Paypal Website Payments Pro (US) Gateway.", :gateway_options => [login, password, signature]) end def self.down end end
Version data entries
19 entries across 19 versions & 2 rubygems