coinbase / coinbase/cbpay-js

[Coinbase Pay SDK] "generateOnRampURL" approach - no callbacks?

Open
#124 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
355
Forks
166
PR merge metrics
No merged PRs in 30d

Description

Following the integration of Coinbase Pay, you can have more control over the implementation when opting for https://docs.cloud.coinbase.com/pay-sdk/docs/generating-url approach, where SDK generates proper URL and dapp decides how & where to trigger it.

Thats working fine as per minimal example here (insert your own “appId” key): https://codesandbox.io/s/cbpay-generate-url-hgltww

However according to https://docs.cloud.coinbase.com/pay-sdk/docs/generating-url#parameters-for-generateonrampurl - with this approach no callbacks can be passed. How dapp is supposed to know that Coinbase experience has finished / succeeded / cancelled etc?

Can you advise?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.