问题标签 [paypal-sandbox]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
php - 如何查看paypal支付是否完成?
我正在使用贝宝 IPN。现在一切正常。我得到了VERIFIED
地位。但如何检查payment_status
是completed
与否?谢谢
没有这样的变量称为$_POST['payment_status']
android - initWithAppID 命令崩溃
我是 Android 编程新手,尤其是 PayPal。我得到了一个应用程序,该应用程序的任务是进行故障排除 - 尽管是 Android 新手,但在这一行崩溃了:
initWithAppID(this.getBaseContext(), appID, PayPal.ENV_SANDBOX);
首先,PayPal.ENV_SANDBOX
总是返回一个 0,我不确定它是否应该这样做。其次,为什么它总是在那里崩溃?我在网上搜索了原因,人们说它是因为它没有完全初始化,这就是它失败的原因。现在我想知道如果我不能初始化这个库我需要做什么?
我正在使用 Eclipse IDE,在 Samsung Galaxy Tab Android 2.2 上进行测试
php - 如何验证paypal支付成功
当客户被重定向到我们的网站时,我正在尝试获取传递到我们网站的贝宝交易的交易信息。
我在我的沙盒贝宝帐户设置中打开了自动返回和 pdt。我向贝宝发布了一个示例交易,它回复了我的返回 url,并附加了 tx。
正如在一些文档中发现的那样,我对https://www.paypal.com/cgi-bin/webscr做了一个 curl req并尝试通过传递 req 值来获取信息,如下所示:
但结果我得到字符串(0)“”。
我错过了什么?
c# - PayPal Express Checkout:未退回票据
使用 paypal_base.dll 和 Payflow_dotNET.dll
有以下设置:
使用 PayPal Express Checkout(沙盒)结账时,用户可以添加备注。但是,当用户提交项目时,备注字段为null
. 具体来说:
- 打电话
DoExpressCheckoutPayment
- 填充
DoExpressCheckoutPaymentResponseType
但是,在响应中,Note 字段位于此处:
是null
。是否有一些我缺少的设置?这不是使用支付宝时订单备注对应的字段吗?
谢谢您的帮助!
php - Paypal form integration with registration form
I am trying to integrate Paypal with one of the registration forms in my site. The flow is like this:
- The user visits the registration page and fills out his details, like first name, last name, username, password, age, etc.
- Then on clicking submit button, he navigates to the paypal site, pays some amount like 5$ and after successful payment, returns back to my site.
- The registration is not yet complete. I want to check whether the payment is successful or not, and if it is successful, then i have to insert the user data (filled prior to submitting the registration form) into the database.
Now my question is, how can i keep track of user data filled in the form and sent to paypal? What is my best bet?
- Should i use any custom hidden fields in the form to store these form values, and if so, is there any size limit?
- Should i store the entire form data in a session, and after succesful payment, use this session data to insert into db?
Or is there any other way of doing it?
I just want to get back all the form values after a successful payment, and only then, i can insert them into the database. I prefer sandbox testing prior to using real paypal.
php - Paypal:如果没有任何记录,为什么直接定期付款会“成功”?
我正在使用 Paypal API (Website Payments Pro) 设置与客户的定期付款,目前正在 paypal-sandbox 中进行测试。Paypal 要求我同时设置 Express Checkout 和 Direct Payment。
快速结帐:完全适用于定期付款。我收到“成功”响应,并且可以在我的测试帐户中看到付款资料。为此,我使用 SetExpressCheckout 让用户能够访问 Paypal、登录并被重定向到我选择的页面。然后我使用“CreateRecurringPaymentsProfile”来实际创建包含所需信息的配置文件。
直接付款:我确实收到了如下所述的“成功”响应,但我在测试帐户中看不到定期付款资料。我只是在我的网站上收集信息并使用“CreateRecurringPaymentsProfile”将其发送到 Paypal。
这是我尝试创建定期付款的“成功”输出:
我可以尝试提供任何其他细节!任何帮助表示赞赏。
编辑:感谢您迄今为止的帮助。但是,我再次收到一条成功消息,但测试帐户中没有交易证明。JSON 输出是这样的:
非常感谢,
丹尼尔莫尼兹
paypal - 如何禁用贝宝立即购买按钮中的送货选项?
我想向我网站的客户收取一次性费用,所以我使用的是Paypal 立即购买按钮,但问题是客户还必须输入运输详细信息,而在我的情况下,没有要发货的产品,所以如何禁用此选项?
paypal - Paypal 立即购买按钮进入沙盒帐户登录页面
我在我的网站上使用 Paypal 立即购买按钮。出于测试目的,我使用的是贝宝沙盒帐户。问题是当我点击立即购买按钮时,当我尚未登录时,它会将我带到沙盒登录页面。以下是我的立即购买按钮代码
paypal - PayPal API 响应说付款成功,但 Paypal Sandbox 说付款不允许
当我尝试使用 Paypal Adaptive Payments API 在沙箱中进行付款时,我收到了SUCCESS
来自 API 的响应:
但是,如果 Sandbox 用户(已禁用付款审核)不是美国人,则 Sandbox 将不允许付款一直通过,而是将买家发送到错误屏幕。
有任何想法吗?