Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 如何将价格添加到paypal电子邮件链接_Ruby On Rails_Paypal - Fatal编程技术网

Ruby on rails 如何将价格添加到paypal电子邮件链接

Ruby on rails 如何将价格添加到paypal电子邮件链接,ruby-on-rails,paypal,Ruby On Rails,Paypal,我已经创建了一个贝宝链接使用贝宝创建按钮。我不需要按钮,我只需要在电子邮件中发送链接 用户必须支付的金额由我的网站决定,因此我无法给出价格 如何将其添加到电子邮件中的链接中,以便当用户单击链接并转到paypal时,显示要支付的金额 感谢所有帮助创建一个链接,添加调用javascript函数的onclick事件,函数提交paypal表单,创建一个链接,添加调用javascript函数的onclick事件,函数提交paypal表单,最后我做了如下操作: https://www.paypal.com/

我已经创建了一个贝宝链接使用贝宝创建按钮。我不需要按钮,我只需要在电子邮件中发送链接

用户必须支付的金额由我的网站决定,因此我无法给出价格

如何将其添加到电子邮件中的链接中,以便当用户单击链接并转到paypal时,显示要支付的金额


感谢所有帮助

创建一个链接,添加调用javascript函数的onclick事件,函数提交paypal表单,

创建一个链接,添加调用javascript函数的onclick事件,函数提交paypal表单,

最后我做了如下操作:

https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=[enter the email address of paypal account]&currency_code=USD&item_name=[enter your items name]&amount=[enter the price]

最后,我做了如下工作:

https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=[enter the email address of paypal account]&currency_code=USD&item_name=[enter your items name]&amount=[enter the price]