Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-Server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
李帅
2022-05-31 23:30:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4ca59b9c7a1eda04e71180178d3cdcd8e76fe191
4ca59b9c
1 parent
02e7662e
1.打印paypal token
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/Payment/PaymentFactory.php
app/Payment/PaypalPayment.php
app/Payment/PaymentFactory.php
View file @
4ca59b9
...
...
@@ -18,7 +18,7 @@ class PaymentFactory
case
'wechat'
:
return
new
WechatPayment
();
case
'paypal'
:
return
new
Pay
P
alPayment
();
return
new
Pay
p
alPayment
();
default
:
throw
new
\Exception
(
'未知的支付方式'
);
}
...
...
app/Payment/PaypalPayment.php
View file @
4ca59b9
...
...
@@ -17,7 +17,7 @@ use GuzzleHttp\Client;
use
Illuminate\Support\Facades\Log
;
use
Illuminate\Support\Facades\Redis
;
class
Pay
P
alPayment
implements
PaymentInterface
class
Pay
p
alPayment
implements
PaymentInterface
{
const
IS_SANDBOX
=
true
;
...
...
Please
register
or
login
to post a comment