Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescarr committed Sep 26, 2010
1 parent 428cfa7 commit 8a5a85f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
1 change: 1 addition & 0 deletions docs/PayflowPro.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ More to come, but please feel free to make suggestions!
- doExpressCheckoutPayment
- transactionSearch
- refundTransaction
- doVoid
- (more to come)

See https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/howto_api_reference for required fields for each API method.
Expand Down
2 changes: 1 addition & 1 deletion lib/payflowpro/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function Client(options, paypal){
options.__defineGetter__('pwd', function(){ return options.password})
var self = this
;['transactionSearch','getBalance', 'getTransactionDetails','addressVerify',
'doDirectPayment', 'refundTransaction', 'doVoid'
'doDirectPayment', 'refundTransaction', 'doVoid',
'setExpressCheckout', 'getExpressCheckoutDetails', 'doExpressCheckoutPayment'].forEach(function(name){
self[name] = function(){
var req = {method:name}
Expand Down
Binary file not shown.
14 changes: 0 additions & 14 deletions spec/integration/payflowpro/TransactionRelated.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,6 @@ vows.describe('Transaction related operations').addBatch({
}
},
},
'Do Void':{
topic:function(){
var self = this;
executeTransaction().then(function(details){
client.doVoid({
transactionid:details.transactionid,
refundtype:'Partial',
amt:20.00
}).on('success', self.callback);
});
},
'should do something':function(err, result){
}
},
'RefundTransaction':{
topic:function(){
var self = this;
Expand Down

0 comments on commit 8a5a85f

Please sign in to comment.