anza-xyz / solana-pay

A new standard for decentralized payments.
https://solanapay.com
Apache License 2.0
1.29k stars 452 forks source link

Can Solana point-of-sale work as a webhook? #118

Closed yechankun closed 2 years ago

yechankun commented 2 years ago

I was really impressed with this project.

I have a question, and if you look at the contents of "4.1 Retries" in the current solana docs, pos uses the polling strategy to check whether a transaction has been confirmed. Is there no way to implement this as a webhook?

If there is a way, please let me know how it can be done. I think it would be more appropriate to use a webhook rather than polling.

jordaaash commented 2 years ago

We don't use Github for general questions. Please ask on the Solana Discord, there's a #solana-pay channel.