# Why is the Payment Field output value for Creating a Stripe Subscription within an Action Form either a String or an Object

**URL:** <https://community.auth0.com/t/why-is-the-payment-field-output-value-for-creating-a-stripe-subscription-within-an-action-form-either-a-string-or-an-object/193286>\
**Category:** Get Help\
**Tags:** other, missing-category\
**Created:** [October 17, 2025, 2:33am UTC](https://community.auth0.com/t/why-is-the-payment-field-output-value-for-creating-a-stripe-subscription-within-an-action-form-either-a-string-or-an-object/193286 "2025-10-17T02:33:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeanStof](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/seanstof/32/71808_2.png) [@SeanStof](https://community.auth0.com/u/SeanStof)\
**Post date:** [October 17, 2025, 2:33am UTC](https://community.auth0.com/t/why-is-the-payment-field-output-value-for-creating-a-stripe-subscription-within-an-action-form-either-a-string-or-an-object/193286/1 "2025-10-17T02:33:02Z")

</div>

Hi everyone,

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.

Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [October 17, 2025, 6:26pm UTC](https://community.auth0.com/t/why-is-the-payment-field-output-value-for-creating-a-stripe-subscription-within-an-action-form-either-a-string-or-an-object/193286/3 "2025-10-17T18:26:11Z")

</div>

Hi @SeanStof

Welcome to the Auth0 community!

Please allow me some time to research this and I will be back with more information as soon as possible.

Best regards,  
Gerald

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [October 17, 2025, 8:19pm UTC](https://community.auth0.com/t/why-is-the-payment-field-output-value-for-creating-a-stripe-subscription-within-an-action-form-either-a-string-or-an-object/193286/4 "2025-10-17T20:19:55Z")

</div>

Hi @SeanStof

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](https://auth0.com/docs/customize/forms/nodes-and-components#:~:text=the%20Ending%20node.-,Payment%20field%20settings,-The%20payment%20field).

Hope this helped!  
Gerald

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 31, 2025, 8:20pm UTC](https://community.auth0.com/t/why-is-the-payment-field-output-value-for-creating-a-stripe-subscription-within-an-action-form-either-a-string-or-an-object/193286/5 "2025-10-31T20:20:16Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
