#chettinger-dashboard
1 messages · Page 1 of 1 (latest)
Stripe, Power Apps redirects to stripe using Stripe.BillingPortal.SessionService
The Billing Portal only displays invoices that are related to a subscription : https://stripe.com/docs/billing/subscriptions/integrating-customer-portal. This is expected behaviour
understood, is there a way to also show payments?
not on the Billing Portal at all. I'm not entirely certain how your integration works with Power Apps. Can you share a bit more on your business model / integration then maybe I can provide advice?
This is a portal running on top of Dynamics CRM. A Function App running in Azure facilitates server-side communication between Dynamics and Stripe. When the user makes a payment, a call is made the Function App endpoint with the record id of the payment in Dynamics. The Function App looks the record up, gets the details (donation amount, stripe customer id, etc.) and then makes with either a single payment or a reoccurring payment depending on what customer picked.
what it sounds like is that you're going to need to build your own website / UI to show the list of invoices or payments. You'd probably want to use webhooks to listen (and populate this data) for the relevant invoice/payment related events - https://stripe.com/docs/webhooks
this all works. When the user wants to view account details, they click a link which passes their Dynamics CRM user id to the function app. The function app looks the user up and gets the stripe customer id and creates a new Stripe.BillingPortal.SessionService(). and the returns the session URL and redirects user to Stripe. The user is able to see subscriptions; however, single payments (non-reoccurring) are not anywhere.
is your Stripe account a platform? i.e. are you also using Connect?
I am not sure what that is
do you have a Stripe account?
yes
Can you share your account id? You can find your account id by logging in to https://dashboard.stripe.com/settings/account. It'll be in the upper right hand corner and looks like acct_123
acct_1LDXoRBqATZcISok
alright, you aren't a platform
so what i said stands, you're likely going to build your own website/UI if you want your customers to be able to see a list of their own payments