developer:giftcards

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
developer:giftcards [2015/07/06 16:12]
tem
developer:giftcards [2015/07/06 16:12]
tem [Partial Approval]
Line 45: Line 45:
 USAePay supports partial approvals for gift cards. ​ This allows a developer to indicate that they want to authorize as much of the requested amount as they can.   For example, ​  if the sale is for $50 but the customers card only has $45 left on it, the transaction would normally decline. ​  With partial approvals enabled, ​  the transaction would approve with a "​P"​ response and include the authorized amount of "​45.00"​. ​ USAePay supports partial approvals for gift cards. ​ This allows a developer to indicate that they want to authorize as much of the requested amount as they can.   For example, ​  if the sale is for $50 but the customers card only has $45 left on it, the transaction would normally decline. ​  With partial approvals enabled, ​  the transaction would approve with a "​P"​ response and include the authorized amount of "​45.00"​. ​
  
-Developers using the [[developer:​transactionapi]] enable partial approvals by setting the UMallowPartialAuth field to "​true"​. ​ You will also need to modify your code to accept a "​UMresult" ​ value of "​P"​. ​ This indicates that only a portion of the "​UMamount"​ you specified was available and processed. ​  The actual amount that was processed is returned in the "​UMauthAmount"​ response field.  ​+Developers using the [[developer:​transactionapi]] ​can enable partial approvals by setting the UMallowPartialAuth field to "​true"​. ​ You will also need to modify your code to accept a "​UMresult" ​ value of "​P"​. ​ This indicates that only a portion of the "​UMamount"​ you specified was available and processed. ​  The actual amount that was processed is returned in the "​UMauthAmount"​ response field.  ​
  
 ==== Remaining Balance ==== ==== Remaining Balance ====
developer/giftcards.txt ยท Last modified: 2015/07/06 16:19 by tem

Page Tools