I am working on a project where I have integrated stripe connect which is working fine, but now the problem is how I can check that returned details on redirect url are for a specific project.
Projects functions as follows. 1.Registered users add Non-Profit. 2.Connect to their stripe account to accept payments.
Stripe connect button has been placed on project addition page, users clicks on it and returned to a url (given in application) with connected users details, but on this page I have lost the project id for which user was connecting stripe account so I cant save it in database ( i assume that they needs to be saved in database to use at time of donation).
Am I doing something wrong ? Is there any other way to get it done ?
I have used https://gist.github.com/amfeng/3507366 as reference.