coinbase / coinbase/coinbase-commerce-ruby

New status SIGNED for charge

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
35
Forks
32
PR merge metrics
No merged PRs in 30d

Description

A few days ago appeared new status SIGNED for charges. Also, it's not described [here](https://docs.cloud.coinbase.com/commerce/docs/payment-status).
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.