禁用Paypal Express的沙盒模式 [英] Disable sandbox mode for Paypal Express

查看:233
本文介绍了禁用Paypal Express的沙盒模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Omnipay与CodeIgniter结合使用,以允许客户在Paypal上结帐. 在网站开发过程中,我一直在使用测试模式,但是现在该网站已经完成,可以投入生产了.

I'm using Omnipay with CodeIgniter to allow customers to checkout on Paypal. I was using test mode during the development on the website, but now the site is done and ready to be put in production.

但是我不知道如何设置Omnipay以使用实时付款而不是沙盒模式. 我尝试将testMode设置为false. ->安全标头无效.

But I don't know how to setup Omnipay to use live payments and not Sandbox mode. I tried setting the testMode to false. -> Security header invalid.

我尝试创建REST Api凭据->您无法进行此api调用.

I tried creating REST Api credentials -> You can't make this api call.

我知道这可能不是正确的方法,但是至少我探索了各种选择.

I know that's probably not the right way to do this, but at least I explored options.

那么,请问最适合使用Omnipay在PaypalExpress上进行实时付款的配置是什么?

So please, what's the most suitable configuration to do live Payments on PaypalExpress with Omnipay ?

谢谢.

推荐答案

您需要将testMode设置为false,或者将其完全忽略(默认为false).

You need to set testMode to false, or just leave it out entirely (false is the default).

安全标头无效

Security header invalid

这意味着您正在尝试在生产环境中使用测试凭据(听起来像是以前的样子).

This means that you are trying to use test credentials with the production environment (which it sounds like you were).

您不想创建REST凭据,需要为标准PayPal NVP API创建API凭据.

You don't want to create REST credentials, you need to create API credentials for the standard PayPal NVP API.

PayPal Express需要API用户名,密码和签名.这些与您的PayPal帐户详细信息不同.您可以通过登录(实时)贝宝帐户并单击配置文件>我的销售工具> API访问权限>请求/查看API凭证>请求API签名来获取API详细信息.

PayPal Express requires an API Username, Password, and Signature. These are different from your PayPal account details. You can obtain your API details by logging in to your (live) PayPal account, and clicking Profile > My Selling Tools > API Access > Request/View API Credentials > Request API Signature.

这篇关于禁用Paypal Express的沙盒模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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