mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
remove uneccessary code, adapted to eis billing response, fix logging error
This commit is contained in:
parent
d1e64577b4
commit
ac3244466e
6 changed files with 6 additions and 69 deletions
|
@ -25,10 +25,9 @@ class Registrar
|
|||
def send_invoice_data_to_billing_system
|
||||
add_invoice_instance = EisBilling::AddDeposits.new(@invoice)
|
||||
result = add_invoice_instance.send_invoice
|
||||
link = JSON.parse(result.body)['everypay_link']
|
||||
|
||||
p "+++++++++++++ result"
|
||||
p JSON.parse(result.body)['everypay_link']
|
||||
p "+++++++++++++"
|
||||
@invoice.update(payment_link: link)
|
||||
end
|
||||
|
||||
def deposit_params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue