本文介绍了Pay Pal付款流程问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用沙盒Pay pal网站进行付款过程
但是当我点击Pay pal pay按钮时,它要求我

请登录以使用PayPal沙盒功能."
没有显示要付款的卖家页面.

因此,请建议我如何显示带有购物车的付款页面

当我登录开发人员帐户时,它会显示付款页面
在浏览器的网站标签中.


我要在Pay pal网站上运行的代码是,

I am using the sandbox pay pal site for payment process
but when i click on Pay pal pay button, it ask me to

"Please login to use the PayPal Sandbox features."
Not showing the seller page for doing payment.

So please suggest me how to show payment page with shopping cart

When i login in developer account then it showing payment page
in site tab of browser.


My code to go on pay pal site is,

StringBuilder sbPayPal = new StringBuilder();
sbPayPal.Append("https://www.sandbox.paypal.com/cgi-bin/webscr" target="_blank" title="New Window">^]);
sbPayPal.Append("?cmd=_xclick");
// seller account name
sbPayPal.Append("&business=" + "[email protected]");
sbPayPal.Append("&item_name=" + itemname);
sbPayPal.Append("&amount=" + string.Format(CultureInfo.CreateSpecificCulture("en-US"), "{0:0.00}", price));
sbPayPal.Append("¤cy_code=" +ConfigurationManager.AppSettings["currency_code"]);
sbPayPal.Append("&cancel_return=" + HttpContext.Current.Request.Url);
sbPayPal.Append("&custom=" + customData);
sbPayPal.Append("&first_name=" + userDetailObject.FirstName);
sbPayPal.Append("&last_name=" + userDetailObject.LastName);
sbPayPal.Append("&email=" + userDetailObject.EmailAddress);
sbPayPal.Append("¬ify_url=" + "http://" + HttpContext.Current.Request.Url.Authority + "/popups/mta/callback_proxy.aspx");
sbPayPal.Append("&return=" + "http://" + HttpContext.Current.Request.Url.Authority + "/popups/mta/paymentResponse.aspx");
return sbPayPal.ToString();

推荐答案


这篇关于Pay Pal付款流程问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 13:00