lib/pesapal/merchant/post.rb in pesapal-1.1.0 vs lib/pesapal/merchant/post.rb in pesapal-1.2.0

- old
+ new

@@ -18,9 +18,10 @@ post_xml.concat "Reference=\"#{details[:reference]}\" " post_xml.concat "FirstName=\"#{details[:first_name]}\" " post_xml.concat "LastName=\"#{details[:last_name]}\" " post_xml.concat "Email=\"#{details[:email]}\" " post_xml.concat "PhoneNumber=\"#{details[:phonenumber]}\" " + post_xml.concat "Currency=\"#{details[:currency]}\" " post_xml.concat 'xmlns="http://www.pesapal.com" />' encoder = HTMLEntities.new(:xhtml1) post_xml = encoder.encode post_xml \ No newline at end of file