#Koden
1 messages · Page 1 of 1 (latest)
Unfortunately the client can't retrieve that data itself. You would want to retrieve that data from your server or serve it with the webpage initially
We could do it from a backend nodeJS. What's the best way to attain that transaction's subscriptionID? Can we use the ID from the paymentIntent to find the subscriptionID?
The Payment intent will have an invoice property that will be connected to the subscription
So from the payment intent you could retrieve it and expand invoice.subscription
Though when you are serving the page you will already likely have that info on hand so it may be easier to send over then