2012-04-27 258 views
1

我正在捐款网站上工作,并且已经设置了PayPal沙盒商户帐户。一切都很好,但我想接受欧元的钱,而不是$,因为它是默认设置的。这怎么能做到呢?谢谢:)PayPal更改默认货币

---编辑---

我没有使用任何API。我刚刚创建了一个企业帐户,并使用此代码:

string temp_url = "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_donations&[email protected]&item_name=Sponsor a Child Society&amount="; 
string PayPal = temp_url + Convert.ToString(donation); 
Response.Redirect(PayPal); 
+0

示例代码吗? – 2012-04-27 15:26:11

回答

2

你有没有用currency_code属性。

“此参数代表货币代码,可能的值为”USD“,”EUR“,”GBP“,”YEN“,”CAD“等,默认为”USD“。

了解更多:Use of the PayPal payment system in ASP.NET

+0

解决了:)感谢您的帮助:) – Matthew 2012-04-27 15:48:54

1

当生成你的请求到PayPal可以包括参数说明你要哪种货币中要进行的交易

+0

我没有使用这个参数。请问怎么做? – Matthew 2012-04-27 15:45:34