class Astropay::Webpaystatus
Public Instance Methods
get_payment_status(invoice)
click to toggle source
# File lib/astropay/webpaystatus.rb, line 13 def get_payment_status(invoice) request_data = { 'x_invoice' => invoice } request_data .merge!(config.webpaystatus_credentials) .merge!('type' => 'json') request('/webpaystatus', request_data) end
live_url()
click to toggle source
# File lib/astropay/webpaystatus.rb, line 5 def live_url 'https://www.astropaycard.com/apd' end
test_url()
click to toggle source
# File lib/astropay/webpaystatus.rb, line 9 def test_url 'https://sandbox.astropaycard.com/apd' end