0
私はpaypal
を支払いに使用しています。ここでは支払いに使用される主な機能とパラメータがあります。Ruby on railsでのPayflow支払いの統合
def self.paypal_url(.....)
values = {
:business => '[email protected]',
:cmd => '_cart',
:upload => 1,
:return => return_url,
:invoice => "#{customer.id}_#{sType.id}_#{Time.now}",
:notify_url => notify_url
}
values.merge!({
"amount_1" => amount,
"item_name_1" => sType.show_title,
"discount_amount_1" => discount
# "quantity_1" => '1'
})
"https://www.paypal.com/cgi-bin/webscr?" + values.to_query
end
しかし、今私はPayFlow
を使いたいです。親切に私がどのパラメータを変更しなければならないのか、最後のURLは支払のために"https://www.paypal.com/cgi-bin/webscr?" + values.to_query
です。
親切に私を案内しますか?