-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
362a53d
commit 85c9708
Showing
4 changed files
with
53 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,42 +23,21 @@ | |
'success_redirect_url' => '@homeUrl/payment/success', | ||
], | ||
'paypal_standard' => [ | ||
'label' => 'PayPal Website Payments Standard', | ||
'image' => ['images/paypal_standard.png','common'], # 支付页面显示的图片。 | ||
'supplement' => 'You will be redirected to the PayPal website when you place an order. ', # 补充 | ||
# 选择支付后,进入到相应支付页面的start页面。 | ||
'start_url' => '@homeUrl/payment/paypal/standard/start', | ||
# 接收IPN消息的页面。 | ||
'IPN_url' => '@homeUrl/payment/paypal/standard/ipn', | ||
# 在第三方支付成功后,跳转到网站的页面 | ||
'success_redirect_url' => '@homeUrl/payment/success', | ||
# 进入paypal支付页面,点击取消进入网站的页面。 | ||
'cancel_url' => '@homeUrl/payment/paypal/standard/cancel', | ||
# 第三方支付网站的url | ||
'payment_url'=>'https://www.sandbox.paypal.com/cgi-bin/webscr', | ||
//'ipn_url' => 'https://ipnpb.sandbox.paypal.com/cgi-bin/webscr' | ||
# 用户名 | ||
'user' => '[email protected]', | ||
# 账号 | ||
'account'=> '[email protected]', | ||
# 密码 | ||
'password'=>'HF4TNTTXUD6YQREH', | ||
# 签名 | ||
'signature'=>'An5ns1Kso7MWUdW4ErQKJJJ4qi4-ANB-xrkMmTHpTszFaUx2v4EHqknV', | ||
//'info' => [ | ||
//'title'=>'PayPal Website Payments Standard', | ||
//'enable'=> 1, | ||
//'label'=>'PayPal Website Payments Standard', | ||
//'description'=>'You will be redirected to the PayPal website when you place an order.', | ||
//'image'=> 'images/hm.png', | ||
//], | ||
'start_url' => '@homeUrl/payment/paypal/standard/start', | ||
'nvp_url' => 'https://api-3t.sandbox.paypal.com/nvp', | ||
'api_url' => 'https://www.sandbox.paypal.com/cgi-bin/webscr', | ||
'account' => 'zqy234api1-facilitator_api1.126.com', | ||
'password' => 'HF4TNTTXUD6YQREH', | ||
'signature'=> 'An5ns1Kso7MWUdW4ErQKJJJ4qi4-ANB-xrkMmTHpTszFaUx2v4EHqknV', | ||
'label'=> 'PayPal Express Payments', | ||
// 跳转到paypal确认后,返回fecshop的url | ||
'return_url' => '@homeUrl/payment/paypal/standard/review', | ||
// 取消支付后,返回fecshop的url | ||
'cancel_url' => '@homeUrl/payment/paypal/standard/cancel', | ||
// 支付成功后,返回fecshop的url | ||
'success_redirect_url' => '@homeUrl/payment/success', | ||
// IPN地址 | ||
'ipn_url' => '@homeUrl/payment/paypal/standard/ipn', | ||
], | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters