Skip to content

Commit 6789f35

Browse files
cybex-devremonh87
andauthored
Added missing billing name for Future Payments (#441)
Addresses the issue found when calling confirmSetupIntent() showing the following error: > You passed an empty string for 'payment_method_data[billing_details][name]'. Co-authored-by: Rémon <[email protected]>
1 parent bcf73df commit 6789f35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/lib/screens/others/setup_future_payment_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ class _SetupFuturePaymentScreenState extends State<SetupFuturePaymentScreen> {
112112

113113
// 2. Gather customer billing information (ex. email)
114114
final billingDetails = BillingDetails(
115+
name: "Test User",
115116
116117
phone: '+48888000888',
117118
address: Address(

0 commit comments

Comments
 (0)