public
Description: Ruby library for the PaySimple payment gateway
Clone URL: git://github.com/daikini/paysimple.git
PaySimple: Remove hack for NumLeft now that it is fixed in the wsdl

git-svn-id: https://svn.roundhaus.com/daikini/plugins/paysimple@27 
ca0bbbe9-a109-dc11-9d9d-0016e6374d05
jonathan (author)
Thu Sep 06 10:48:09 -0700 2007
commit  a1c63380403015487ac89bb0c7f2079a4b617585
tree    55f752d1996abef08ea64dabb369a895596728fc
parent  302597dcf0eb97695fde7b878c2eda82b4dd3656
...
184
185
186
187
188
189
190
191
 
192
193
194
...
184
185
186
 
 
 
 
 
187
188
189
190
0
@@ -184,11 +184,7 @@ class PaySimple
0
       # puts "An error occurred: #{e.message}"
0
       # end
0
       def find(customer_number)
0
- customer = PaySimple.send_request(:getCustomer, customer_number)
0
-
0
- # NumLeft Bug in SOAP Beta 6
0
- customer["NumLeft"] = Array(customer["NumLeft"]).first
0
- customer
0
+ PaySimple.send_request(:getCustomer, customer_number)
0
       end
0
       
0
       # # Process one-time sale against existing subscription
...
1
2
 
3
4
5
...
725
726
727
728
 
729
730
731
...
1
2
3
4
5
6
...
726
727
728
 
729
730
731
732
0
@@ -1,5 +1,6 @@
0
 <?xml version='1.0' encoding='UTF-8'?>
0
 
0
+<!-- USAePay Soap Interface - Beta 6 (RPC) -->
0
 <!-- WSDL file generated painstakingly by hand -->
0
 
0
 <definitions name="usaepay" targetNamespace="urn:usaepay" xmlns:typens="urn:usaepay" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/">
0
@@ -725,7 +726,7 @@
0
     <part name="CustNum" type="xsd:integer"/>
0
     <part name="Details" type="typens:TransactionDetail"/>
0
     <part name="Command" type="xsd:string"/>
0
- <part name="PaymenthMethodID" type="xsd:integer"/>
0
+ <part name="PaymentMethodID" type="xsd:integer"/>
0
   </message>
0
   <message name="runCustomerTransactionResponse">
0
     <part name="runCustomerTransactionReturn" type="typens:TransactionResponse"/>

Comments

    No one has commented yet.