Skip to content

New status SIGNED for charge #20

@ivanov17andrey

Description

@ivanov17andrey

A few days ago appeared new status SIGNED for charges. Also, it's not described here.
How to interpret this status?
Code used

client = CoinbaseCommerce::Client.new(api_key: COINBASE_API_KEY)
client.charge.retrieve(charge_id)[:timeline].last[:status]

Also, it started to return an error on charge creation if local_price.currency = 'usd'. Before it worked with lower case, now it accepts only upper case 'USD'.

client.charge.create(
    local_price: {
    amount: payment.calculate_amount,
    currency: payment.currency.upcase
    },
    ...
)

coinbase_commerce (0.8.7)
rails (6.1.3.1)
ruby 2.7.7p221

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