magento2使用PayPal Payflow测试账号
访问开发文档搜索并点击
Create a test-only Payflow Gateway account
,继续点击Payflow Services
开始创建账号,根据需要的类型选择支付处理公司,除了邮件其他随意填继续下一步到结束。完成后会有成功注册信息发送到邮箱。根据邮件登录信息登录登录paypal payflow后台,
- 点击
Service Setting->Set Up->Payment Confirmation
中,修改Show confirmation pagew为On my website
,修改Return URL Method
为Post
。转到Security Options
,修改Enable Secure Token
为Yes
,保存; - 导航到
Service Setting->Customize->Choose a layout and color
,选择Layout C
,然后保存发布(Save and Publish); - 导航到
Account Administration->Manage Security->Transaction Settings
,修改Allow reference transactions
为Yes
,保存(Confirm
);
- magento2后台配置paypal payflow后即可使用测试信用卡测试。