贝宝标准不提供以客人身份退房的选项 [英] PayPal Standard not giving option for Check out as Guest

查看:65
本文介绍了贝宝标准不提供以客人身份退房的选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MVC 3 VB.NET应用程序...在html剃刀视图中使用快速结帐.我已经尝试过可以在Google上找到的所有文档中提到的所有内容,以及在Paypal的dev网络上提到的所有内容.我们的Paypal帐户设置为允许用户以访客身份签出,而无需创建或登录Paypal帐户.但是,在单击签出"按钮后将用户带到贝宝网站时,没有选项以访客身份签出.我包括我的结帐视图以供参考.请理解,这是一个有效的问题,请勿对此投反对票.如果有不清楚的地方,我会澄清.

MVC 3 VB.NET applicaiton... Using express checkout with html razor view. I have tried everything mentioned in all of the docs i could google for as well as the ones on paypal's dev network. Our Paypal account is setup to allow users to Check out as Guest without requiring paypal account creation or login. However when users are taken to the paypal site after clicking the checkout button there is no option to check out as guest. I am including my checkout view for reference. Please understand that this is a valid question and do not down vote it. If there is something not clear I will clarify it..

 @modeltype xxxxxxx.orderVM
 @Code
 ViewData("Title") = "CheckOut"
 End Code


<p style="text-align:center">Once you complete your transaction you will be redirected       back to the site</p>
<p></p>
<p style="text-align:center">We will process your payment within 24 hours at which time you will recieve a confirmation email which you will need for addmission. Along with a PDF attachment in this email which is your parking permit.. Please print and follow the instructions</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p style="text-align: center"> Please Click on the paypal button below to be redirected to the PayPal Site to complete the payment Transaction</p>

<form id="PayPal" name="PayPal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
@Html.Hidden("cmd", "_cart")
@Html.Hidden("upload", "1")
@Html.Hidden("business", ConfigurationManager.AppSettings("PayPalMerchantEmail"))
@Html.Hidden("page_style","primary")
@Html.Hidden("custom", Model.id.ToString)
@Html.Hidden("image_url", "http://www.xxxxxxxxxx.com/content/images/xxxxxxxxLogo.jpg")
@Html.Hidden("cpp_header_image",  "http://www.xxxxxxxx.com/content/images/xxxxxxxLogo.jpg")
@Html.Hidden("cpp_logo_image", "http://www.xxxxxxxxxxe.com/content/images/xxxxxxxLogo.jpg")
@Html.Hidden("return", "http://www.xxxxxxxxxx.com/")
@Html.Hidden("cancel_return", "http://www.xxxxxxxxxx.com")

@Html.Hidden("first_name", Model.first_name)
@Html.Hidden("last_name", Model.last_name)
@Html.Hidden("address1", Model.address1)
@Html.Hidden("address2", Model.address2)
@Html.Hidden("city", Model.city)
@Html.Hidden("state", Model.state)
@Html.Hidden("zip", Model.zip)



@If Not String.IsNullOrEmpty(Model.Class1) Then

@Html.Hidden("item_name_1", Model.Class1)
@Html.Hidden("amount_1", Model.fee1)
@Html.Hidden("quantity_1", ViewBag.quan)
@Html.Hidden("shipping_1", " 0.00 ")
@Html.Hidden("handling_1", " 0.00 ")

End If
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="middle" style="text-align:center"/>
</form>

我觉得这里不需要控制器的代码,因为它确实将所有值正确地传递到了视图中……唯一的问题是我无法以来宾的身份签出...

I do not feel the code for the controller is required here since it does pass all the values correctly into the view... The only issue is I can not get check out as guest working...

推荐答案

您是否已在PayPal个人资料中启用可选帐户"?
您的帐户位于哪个国家/地区?访客结帐功能并非在所有国家/地区都可用.

Have you turned on 'Account Optional' in your PayPal Profile?
Which country is your account located in? The guest checkout functionality is not available in all countries yet.

这篇关于贝宝标准不提供以客人身份退房的选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆