-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pass in access code to either Popup or Button to retrieves the transaction details, #85
Comments
Can you send a link to the mobile SDK. because to fetch transaction details, you need the transaction's id not access code link. Also what are the possible use cases for this feature, If a transaction has been initialized why do we still need to see it in the client? |
Similar to the way one of stripe flow works:- create a transaction session at the backend, with all the accurate information (user info, all necessary price calculation), this is done on the server for reliability.. return the session id and a checkout url, so on the web, pass the session id to the payment element (in Paystack React Popup Element), and information associated with that sessionId (transactionId), is populated on the popup, so i don't need to initialize the transaction on the client anymore. |
Link to the android sdk |
I know the mobile SDK already has the feature, is there a way to replicate on the web,
i want to be able to initialize a transaction at the backend, retrieve the access code from the initialized transaction,
return the access code to the client where the client can then pass it to either the popup or the paystack button, and the transaction details associated with the access code will be automatically fetched for the popup.
The text was updated successfully, but these errors were encountered: