私はpaypal
支払いに使用しています。支払いに使用される主な関数とパラメーターは次のとおりです。
def self.paypal_url(.....)
values = {
:business => 'email@id.com',
: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
。
親切に私を案内しますか?