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
Describe the bug
When calling function createSetupIntent, params ask to pass a property customerId with a string containing the ID of the customer we want to create the setup intent for. If passed like this, property in the API resolves to nullish and therefore, doesn't attach a provided payment method to the customer when calling other functions. This is because the actual name of the property in Stripe API is customer, as it says in the documentation.
To Reproduce
Steps to reproduce the behavior:
Create a setup intent using the SDK passing a property customerId
Check the logs in your Stripe dashboard and the setup intent object created will have property customer:null
Create a setup intent using the SDK passing a property customer
Check the logs in your Stripe dashboard and the setup intent object created will have property customer: {{string provided}}
Expected behavior
When creating a setup intent passing a customer ID, the object that returns should contain this string in the property customer
Screenshots
With property customerId:
Stripe Terminal React Native SDK version
With property customer:
Stripe Terminal React Native Version
^0.0.1-beta.14
The text was updated successfully, but these errors were encountered:
Describe the bug
When calling function createSetupIntent, params ask to pass a property customerId with a string containing the ID of the customer we want to create the setup intent for. If passed like this, property in the API resolves to nullish and therefore, doesn't attach a provided payment method to the customer when calling other functions. This is because the actual name of the property in Stripe API is customer, as it says in the documentation.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When creating a setup intent passing a customer ID, the object that returns should contain this string in the property customer
Screenshots
With property customerId:
Stripe Terminal React Native SDK version
With property customer:
Stripe Terminal React Native Version
The text was updated successfully, but these errors were encountered: