We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems to me that CoinGate.has_pay_amount does not work properly, as the message object is actually in the identifier field.
CoinGate.has_pay_amount
identifier
cloudomate vps purchase hostsailor 0 Selected configuration: Name CPU RAM Storage Bandwidth Price (USD) Mini sailor 1 0.256 10 0.256 2.99 Purchase this option? (y/N) y [ecc] info: libsecp256k1 library not available, falling back to python-ecdsa. This means signing operations will be slower. [ecc] info: libsecp256k1 library not available, falling back to python-ecdsa. This means signing operations will be slower. Password: true Payment link: https://coingate.com/invoice/287187bb-8b90-4e8d-b556-af66949edd3b Purchasing hostsailor instance CoinGate: No payment amount found Debug information: > {"identifier": "{\"invoice_uuid\": \"287187bb-8b90-4e8d-b556-af66949edd3b\", \"channel\": \"InvoiceChannel\"}", "command": "subscribe"} > {"data": "{\"action\": \"check\", \"invoice_uuid\": \"287187bb-8b90-4e8d-b556-af66949edd3b\"}", "identifier": "{\"invoice_uuid\": \"287187bb-8b90-4e8d-b556-af66949edd3b\", \"channel\": \"InvoiceChannel\"}", "command": "message"} > {"data": "{\"ln\": false, \"action\": \"select_pay_currency\", \"email\": \"\", \"pay_currency_id\": 8}", "identifier": "{\"invoice_uuid\": \"287187bb-8b90-4e8d-b556-af66949edd3b\", \"channel\": \"InvoiceChannel\"}", "command": "message"} < {"type":"welcome"} < {"identifier":"{\"invoice_uuid\": \"287187bb-8b90-4e8d-b556-af66949edd3b\", \"channel\": \"InvoiceChannel\"}","type":"confirm_subscription"} < {"type":"ping","message":1548034106} < {"type":"ping","message":1548034109} < {"type":"ping","message":1548034112} < {"type":"ping","message":1548034115} < {"type":"ping","message":1548034118} < {"type":"ping","message":1548034121} < {"type":"ping","message":1548034124} < {"type":"ping","message":1548034127} < {"type":"ping","message":1548034130} < {"type":"ping","message":1548034133} < {"type":"ping","message":1548034136} < {"type":"ping","message":1548034139} < {"identifier":"{\"invoice_uuid\": \"287187bb-8b90-4e8d-b556-af66949edd3b\", \"channel\": \"InvoiceChannel\"}","message":{"id":2924182,"uuid":"287187bb-8b90-4e8d-b556-af66949edd3b","title":"HostSailor","description":"HostSailor - Invoice #134482","status":"new","pay_amount":null,"price_amount":"2.99","address":null,"confirmations_by_price":0,"trader_order_id":null,"expire_at":null,"created_at":"2019-01-21T01:28:24.000Z","pending_at":null,"conversion_rate":null,"pay_currencies":[{"id":8,"title":"Bitcoin","iso_symbol":"BTC","id_name":"bitcoin","kind":"crypto","pay_amount":"0.00084559","lightning_network":true,"priority":true,"position":4,"disabled":null},{"id":49,"title":"Litecoin","iso_symbol":"LTC","id_name":"litecoin","kind":"crypto","pay_amount":"0.097267","lightning_network":false,"priority":true,"position":4,"disabled":null},{"id":50,"title":"Ethereum","iso_symbol":"ETH","id_name":"ethereum","kind":"crypto","pay_amount":"0.025473","lightning_network":false,"priority":true,"position":4,"disabled":null},{"id":52,"title":"Bitcoin Cash","iso_symbol":"BCH","id_name":"bitcoin_cash","kind":"crypto","pay_amount":"0.024394","lightning_network":false,"priority":false,"position":1,"disabled":null},{"id":57,"title":"Sirin Labs","iso_symbol":"SRN","id_name":"sirin","kind":"crypto","pay_amount":"86.17","lightning_network":false,"priority":false,"position":4,"disabled":null},{"id":58,"title":"Telcoin","iso_symbol":"TEL","id_name":"telcoin","kind":"crypto","pay_amount":"8446.0","lightning_network":false,"priority":false,"position":4,"disabled":null},{"id":59,"title":"Nano","iso_symbol":"NANO","id_name":"nano","kind":"crypto","pay_amount":"3.4987","lightning_network":false,"priority":false,"position":2,"disabled":null},{"id":60,"title":"TRON","iso_symbol":"TRX","id_name":"tron","kind":"crypto","pay_amount":"126.69","lightning_network":false,"priority":false,"position":3,"disabled":null}],"price_currency":{"id":1,"title":"United States Dollar","iso_symbol":"USD","id_name":null,"kind":"fiat"},"merchant_covered_amount":0,"seller":{"verified":true,"id":32581},"transactions":[],"amount_received":"0.0","refundable_amount":0,"refunded_amount":"0.0","is_request_refund_allowed":false,"is_refund_requested":false,"invoice_url":"https://coingate.com/invoice/287187bb-8b90-4e8d-b556-af66949edd3b","back_url":null,"can_pay_with_service_altcoin":true,"webpush_subscriptions_left":5,"webpush_subscriptions":[],"invoice_trademark_name":"Host Sailor Ltd."}} < {"type":"ping","message":1548034142} < {"type":"ping","message":1548034145} < {"type":"ping","message":1548034148} < {"type":"ping","message":1548034151} < {"type":"ping","message":1548034154} Traceback (most recent call last): File "/usr/local/bin/cloudomate", line 11, in <module> load_entry_point('cloudomate==1.4', 'console_scripts', 'cloudomate')() File "/usr/local/lib/python2.7/site-packages/cloudomate/cmdline.py", line 87, in execute args.func(args) File "/usr/local/lib/python2.7/site-packages/cloudomate/cmdline.py", line 307, in purchase _purchase_vps(provider, user_settings, args) File "/usr/local/lib/python2.7/site-packages/cloudomate/cmdline.py", line 371, in _purchase_vps _register(provider, vps_option, user_settings) File "/usr/local/lib/python2.7/site-packages/cloudomate/cmdline.py", line 509, in _register provider_instance.purchase(wallet, vps_option) File "/usr/local/lib/python2.7/site-packages/cloudomate/hoster/vps/hostsailor.py", line 104, in purchase return self.pay(wallet, self.get_gateway(), payment_link) File "/usr/local/lib/python2.7/site-packages/cloudomate/hoster/hoster.py", line 97, in pay print(('Paying %s BTC to %s' % (info.amount, info.address))) AttributeError: 'NoneType' object has no attribute 'amount'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems to me that
CoinGate.has_pay_amount
does not work properly, as the message object is actually in theidentifier
field.The text was updated successfully, but these errors were encountered: