react-coinbase-commerce
react-coinbase-commerce copied to clipboard
chargeId not working with `CoinbaseCommerceButton`
Description:
When I use chargeId instead of checkoutId, I get this page:

This comment suggests you should use charge code instead of id:
{
"data": {
"id": "f765421f2-1451-fafb-a513-aac6c819fba9", <- not this one
"code": "66BEOV2A", <- this one
...
}
Works for me.