developer:comobject_v2

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developer:comobject_v2 [2011/10/28 07:39]
nell edited for grammar and clarity
developer:comobject_v2 [2015/03/12 17:02]
yura [Example Of Sale]
Line 6: Line 6:
 ===== USAePay Gateway Wrapper COM ===== ===== USAePay Gateway Wrapper COM =====
  
-The USAePay COM component uses the Transaction API to send requests to the gateway. The component allows you to set any field for the request and to receive the resulting fields as returned by the gateway. It also performs transparent URL encoding/​decoding for the field values. Since the component is based on COM, it can be used in different applications including those written in C++, Visual Basic, Visual Basic .NET, C#, and various other languages.+The USAePay COM component uses the [[developer/​transactionapi|Transaction API]] to send requests to the gateway. The component allows you to set any field for the request and to receive the resulting fields as returned by the gateway. It also performs transparent URL encoding/​decoding for the field values. Since the component is based on COM, it can be used in different applications including those written in C++, Visual Basic, Visual Basic .NET, C#, and various other languages.
  
  
Line 52: Line 52:
  service->​UpdateField(CComBSTR(L"​UMkey"​),​ CComBSTR(L"​WJF4B92MJ3t5Ui1b089ogn1Ko32R7V48"​));​  service->​UpdateField(CComBSTR(L"​UMkey"​),​ CComBSTR(L"​WJF4B92MJ3t5Ui1b089ogn1Ko32R7V48"​));​
  service->​UpdateField(CComBSTR(L"​UMname"​),​ CComBSTR(L"​John Smith"​));​  service->​UpdateField(CComBSTR(L"​UMname"​),​ CComBSTR(L"​John Smith"​));​
- service->​UpdateField(CComBSTR(L"​UMcard"​),​ CComBSTR(L"​4000100011112224")); + service->​UpdateField(CComBSTR(L"​UMcard"​),​ CComBSTR(L"​4111111111111111")); 
- service->​UpdateField(CComBSTR(L"​UMexpir"​),​ CComBSTR(L"​1212"));+ service->​UpdateField(CComBSTR(L"​UMexpir"​),​ CComBSTR(L"​0919"));
  service->​UpdateField(CComBSTR(L"​UMamount"​),​ CComBSTR(L"​6.00"​));​  service->​UpdateField(CComBSTR(L"​UMamount"​),​ CComBSTR(L"​6.00"​));​
  service->​UpdateField(CComBSTR(L"​UMinvoice"​),​ CComBSTR(L"​12345"​));​  service->​UpdateField(CComBSTR(L"​UMinvoice"​),​ CComBSTR(L"​12345"​));​
developer/comobject_v2.txt · Last modified: 2015/03/12 17:02 by yura

Page Tools