You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sheet.mdx
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ void main() async {
45
45
46
46
Use your [test mode](https://stripe.com/docs/keys#obtain-api-keys) keys while you test and develop, and your [live mode](https://stripe.com/docs/keys#test-live-modes) keys when you publish your app.
47
47
48
-
## 2. Add an enpoint[Server Side]
48
+
## 2. Add an endpoint[Server Side]
49
49
50
50
First, you need a Stripe account. [Register now](https://dashboard.stripe.com/register).
@@ -189,7 +192,7 @@ Make sure to set your Apple merchant ID `Stripe.merchantIdentifier` when you ini
189
192
```
190
193
191
194
192
-
then add `applePay: PaymentSheetApplePay()` with your and the country code of your business.
195
+
then add `applePay: PaymentSheetApplePay()` with the country code of your business.
193
196
194
197
```dart
195
198
Stripe.instance.initPaymentSheet(
@@ -234,15 +237,17 @@ For more details, see Google Pay’s Set up Google Pay API for Android.
234
237
235
238
#### Add Google Pay
236
239
237
-
To add Google Pay to your integration, set `googlePay: true` with your Google Pay environment (production or test) and the country code of your business.
240
+
To add Google Pay to your integration, set `googlePay: PaymentSheetGooglePay()` and specify the country code of your business within that.
0 commit comments