#chettinger-dashboard

1 messages · Page 1 of 1 (latest)

sharp stag
#

hi there! To clarify, who does the Dashboard belong to - Power Apps or Stripe?

tawny bramble
#

Stripe, Power Apps redirects to stripe using Stripe.BillingPortal.SessionService

sharp stag
tawny bramble
#

understood, is there a way to also show payments?

sharp stag
#

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?

tawny bramble
#

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.

sharp stag
#

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

tawny bramble
#

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.

sharp stag
#

is your Stripe account a platform? i.e. are you also using Connect?

tawny bramble
#

I am not sure what that is

sharp stag
#

do you have a Stripe account?

tawny bramble
#

yes

sharp stag
tawny bramble
#

acct_1LDXoRBqATZcISok

sharp stag
#

alright, you aren't a platform

tawny bramble
sharp stag
#

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

tawny bramble
#

ok

#

it seems like a feature that should be built-in

#

will figure something out