Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

onChargeSuccess not firing callback #86

Description

@hexcowboy

After a crypto payment is successful and the Continue button is pressed, the callback function is not firing. We just started noticing this issue a few days ago.

                <CoinbaseCommerceButton
                  chargeId={coinbaseChargeId}
                  styled={true}
                  onChargeSuccess={onChargeSuccess}
                  onChargeFailure={onChargeFailure}
                />
  const onChargeSuccess = () => {
    // not firing
    console.log('on success')
    history.push(`/wallet?deposit_success=true`)
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions