lib/payex/api/pxorder.rb in payex-0.3 vs lib/payex/api/pxorder.rb in payex-0.4
- old
+ new
@@ -3,12 +3,12 @@
def wsdl
'%s/pxorder/pxorder.asmx?WSDL' % PayEx.base_url
end
- def Initialize7(params)
- PayEx::API.invoke! wsdl, 'Initialize7', params, {
+ def Initialize8(params)
+ PayEx::API.invoke! wsdl, :initialize8, params, {
'accountNumber' => {
signed: true,
default: proc { PayEx.account_number! }
},
'purchaseOperation' => {
@@ -79,10 +79,10 @@
}
}
end
def Complete(params)
- PayEx::API.invoke! wsdl, 'Complete', params, {
+ PayEx::API.invoke! wsdl, :complete, params, {
'accountNumber' => {
signed: true,
default: proc { PayEx.account_number! }
},
'orderRef' => {