Skip to content

Commit a893073

Browse files
committed
Working on docs.
1 parent b1a6733 commit a893073

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

billing.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,13 @@ If your plan has a trial period that is **not** configured in Stripe, you must s
7878

7979
$user->save();
8080

81-
If you want to pass additional customer details supported by Stripe, you can do so by passing them as second argument to `create` method:
81+
If you would like to specify additional customer details, you may do so by passing them as second argument to the `create` method:
8282

83-
$user->subscription('monthly')->create($creditCardToken, ['email' => Auth::user()->email, 'description' => 'Great customer']);
83+
$user->subscription('monthly')->create($creditCardToken, [
84+
'email' => $email, 'description' => 'Our First Customer'
85+
]);
8486

85-
Refer to "Create Customer" section of the Stripe API to see which fields are supported: https://stripe.com/docs/api#create_customer
87+
To learn more about the additional fields supported by Stripe, check out Stripe's [documentation on customer creation](https://stripe.com/docs/api#create_customer).
8688

8789
<a name="no-card-up-front"></a>
8890
## No Card Up Front

0 commit comments

Comments
 (0)