Sailias / cryptocoin_payable

Ruby Crypto Coin payment processing gem
MIT License
37 stars 16 forks source link

cryptocoin_payable:process_payments with BCH #24

Open NimbusCs opened 5 years ago

NimbusCs commented 5 years ago

i try the command:

rake cryptocoin_payable:process_payments

and return >

PaymentProcessor: Unknown error encountered, skipping transaction CryptocoinPayable::NetworkNotSupported

i see the code on > lib/cryptocoin_payable/adapters/bitcoin_cash.rb

at line: https://github.com/Sailias/cryptocoin_payable/blob/e5bf9997a9c1872d292cedd5733b8020f696b01a/lib/cryptocoin_payable/adapters/bitcoin_cash.rb#L13

the prefix bchtest. not work anymore

mhluska commented 5 years ago

There's no testnet support for Bitcoin Cash with the Block Explorer API. We'd have to add another external API for that or wait until Block Explorer supports it.

It should still work fine for main net though.