lib/api/checkout_methods.rb in wepay-rails-2.2.0 vs lib/api/checkout_methods.rb in wepay-rails-2.2.1
- old
+ new
@@ -55,10 +55,12 @@
resp = self.call_api("/checkout/create", defaults).symbolize_keys!
resp.merge({:security_token => security_token})
end
def lookup_checkout(checkout_id)
- self.call_api("/checkout", {:checkout_id => checkout_id})
+ co = self.call_api("/checkout", {:checkout_id => checkout_id})
+ co.delete("type")
+ co
end
def ipn_callback_uri(security_token)
uri = if @wepay_config[:ipn_callback_uri].present?
@wepay_config[:ipn_callback_uri]
\ No newline at end of file