Skip to content

Commit

Permalink
add card no limit
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa6765 committed Oct 19, 2023
1 parent fc41884 commit 27416ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/customer.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,8 @@ if ($cards->isError) {

```php
$cardToken = 'your_stripe_card_token';
$cardMaxLimit = 3; // Set the maximum number of cards per customer

$response = $stripeCustomer->addCard($customerId, $cardToken, $cardMaxLimit);
$response = $stripeCustomer->addCard($customerId, $cardToken);

if ($response->isError) {
// Handle errors
Expand Down

0 comments on commit 27416ee

Please sign in to comment.