lib/pagseguro/checkout.rb in pagseguro_next-1.0.5 vs lib/pagseguro/checkout.rb in pagseguro_next-1.0.6
- old
+ new
@@ -3,10 +3,10 @@
module PagSeguro
class Checkout
include Restful
def create(params)
- body = build_request(params).to_xml(encoding: "UTF-8")
+ body = build_request(params).to_xml(encoding: "ISO-8859-1")
response = post("/v2/checkout", body, xml: :simple)
response.checkout
end
def url(code)