I am just hoping to get some information on why creating a Stripe Subscription within a Payment Field in an Action Form is able to return either a String or and Object.
When we add the subscription to the user account in the Ending Screen component ‘After Submission Flow’ it returns an Object,
Whereas when consumed within a component Flow following the Payment Field using the same Flow, it returns a string.
In our case, we require the Payment Field to return an Object and the Docs don’t seem to indicate the reason for one or the other.
Returning with some information, it appears the reason we only generate an object after submission is because we process the payment just before completing the form internally, so the data is only available after completion. You can find more details in the following documentation, on the payment field.