Skip to content

Commit

Permalink
Merge pull request #317 from linusxiong/patch-1
Browse files Browse the repository at this point in the history
修复Stripe支付方式中导致400的小Bug
  • Loading branch information
cedar2025 authored Jan 16, 2025
2 parents f6af731 + 4d2b442 commit ea6a2d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Payments/StripeALLInOne.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public function pay($order)
'confirm' => true,
'payment_method' => $stripePaymentMethod->id,
'automatic_payment_methods' => ['enabled' => true],
'statement_descriptor' => 'sub-' . $order['user_id'] . '-' . substr($order['trade_no'], -8),
'statement_descriptor_suffix' => 'sub-' . $order['user_id'] . '-' . substr($order['trade_no'], -8),
'description' => $this->config['description'],
'metadata' => [
'user_id' => $order['user_id'],
Expand Down

0 comments on commit ea6a2d8

Please sign in to comment.