-
Notifications
You must be signed in to change notification settings - Fork 0
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
One-click Payment flow for external developers #29
Conversation
🦋 Changeset detectedLatest commit: 492addf The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, should probably also update READMEs with startTransaction
documentation for both agent-app-sdk and helpdesk-sdk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇 💵
65c2c96
to
162d79d
Compare
This PR introduces the
startTransaction
method to all widgets in both the agent-app-sdk and helpdesk-sdk.startTransaction - This method processes the provided charge details, converting them into a format compatible with the One-Click Payment flow. Once it has all the information processed it will trigger events that display a payments modal with the transaction summary in AA (or HD in the future).
One-Click Payment makes processing transactions quicker and more straightforward. It enables third-party developers to initiate a transaction within their applications and then transfer the transaction details to the AA (or HD in the future) and display them in a payment modal. There, the end user can easily accept or decline the transaction.
Here's a preview how it's going to look: