In this episode I show how to add Active Merchant's functionality to a Rails application to make a fully-functional checkout process.
PayPal Express Checkout is easy to add to an existing ordering system. See how in this episode.
require "rubygems" require "active_merchant" ActiveMerchant::Billing::Base.mode = :test gateway = ActiveMerchant::Billing::PaypalGateway.new( :login => "seller_1229899173_biz_api1.railscasts.com", :password => "FXWU58S7KXFC6HBE", :signature => "AGjv6SW.mTiKxtkm6L9DcSUCUgePAUDQ3L-kTdszkPG8mRfjaRZDYtSu" ) credit_card = ActiveMerchant::Billing::CreditCard.new( :type => "visa", :number => "40240071486
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く