anza-xyz / solana-pay

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

Read the amount from the URL if it is set #203

Closed mcintyre94 closed 1 year ago

mcintyre94 commented 1 year ago

Closes #202

This issue is caused by the POS app using only local state for the amount, while other fields (like recipient and label) use the URL values. This PR sets the initial value of the amount state using the amount query param if it is present.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
solana-pay ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 27, 2023 at 1:44PM (UTC)
solana-pay-docs ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 27, 2023 at 1:44PM (UTC)