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

Pay - unified interface #292

Open
BellringerQuinn opened this issue Feb 18, 2025 · 0 comments
Open

Pay - unified interface #292

BellringerQuinn opened this issue Feb 18, 2025 · 0 comments

Comments

@BellringerQuinn
Copy link
Collaborator

Now that we have #288, #289, #290, and #291, a user can purchase an ERC1155 using their credit card, either as a Primary Sale (via Primary Sales contract) or as a secondary sale (via marketplace v2 API); and they can do so using either Sardine or Transak as vendors. Let's combine all of these under one unified interface.

Please keep in mind, that we will likely be adding additional checkout providers like Sardine and Transak in the future. It should be easy to add or remove a vendor. It is recommended to checkout the IFiatPay interface, SequencePay implementation, and IFiatPayFactory interface for some ideas on how to do this.

There is also an ERG for the marketplace + Pay system in the Unity SDK that gives an overview of the Pay system that may be helpful for this
https://github.com/0xsequence/sequence-unity/blob/Feature/marketplaceCheckout/Packages/Sequence-Unity/Sequence/SequenceSDK/Marketplace/ERG_CheckoutModal.mmd

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

No branches or pull requests

1 participant