Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -18,7 +18,7 @@ class PaymentFactory | ... | @@ -18,7 +18,7 @@ class PaymentFactory |
18 | case 'wechat': | 18 | case 'wechat': |
19 | return new WechatPayment(); | 19 | return new WechatPayment(); |
20 | case 'paypal': | 20 | case 'paypal': |
21 | - return new PayPalPayment(); | 21 | + return new PaypalPayment(); |
22 | default: | 22 | default: |
23 | throw new \Exception('未知的支付方式'); | 23 | throw new \Exception('未知的支付方式'); |
24 | } | 24 | } | ... | ... |
... | @@ -17,7 +17,7 @@ use GuzzleHttp\Client; | ... | @@ -17,7 +17,7 @@ use GuzzleHttp\Client; |
17 | use Illuminate\Support\Facades\Log; | 17 | use Illuminate\Support\Facades\Log; |
18 | use Illuminate\Support\Facades\Redis; | 18 | use Illuminate\Support\Facades\Redis; |
19 | 19 | ||
20 | -class PayPalPayment implements PaymentInterface | 20 | +class PaypalPayment implements PaymentInterface |
21 | { | 21 | { |
22 | 22 | ||
23 | const IS_SANDBOX = true; | 23 | const IS_SANDBOX = true; | ... | ... |
-
Please register or login to post a comment