Skip to content
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 methods in agent-app-sdk #27

Closed
wants to merge 3 commits into from

Conversation

SamborGornicz
Copy link
Collaborator

@SamborGornicz SamborGornicz commented Aug 28, 2024

This PR adds two methods to all widgets in agent-app-sdk:

startDirectCharge - registers direct charge and sends transaction details to the OneClickPayment modal in the AA
startRecurrentCharge - registers recurrent charge and sends transaction details to the OneClickPayment modal in the AA


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. There, the end user can easily accept or decline the transaction.

Here's preview how its going to look like:

SCR-20240828-lwpv

@SamborGornicz SamborGornicz requested a review from pastepi August 28, 2024 11:23
Copy link

changeset-bot bot commented Aug 28, 2024

🦋 Changeset detected

Latest commit: 7c32913

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@livechat/agent-app-sdk Minor

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

@SamborGornicz SamborGornicz changed the title New methods for handling One-click Payment methods in agent-app-sdk Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant