Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change expiration year and update README for MetaKey config guide #25

Open
wants to merge 4 commits into
base: future
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion BaseClient/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const char CYBS_C_USE_AKAMAI[] = "sendToAkamai";


/* Please do not modify these values */
static const wchar_t CLIENT_LIBRARY_VERSION_VALUE[] = L"6.0.3";
static const wchar_t CLIENT_LIBRARY_VERSION_VALUE[] = L"6.0.4";
static const wchar_t CLIENT_LIBRARY_VALUE[] = L"C SOAP";
static const wchar_t CLIENT_APPLICATION_VALUE[] = L"Simple Order API";

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
API_VERSION = 6.0.3
API_VERSION = 6.0.4
PROD_NAME = simapi-c
ZIP_NAME = $(PROD_NAME)-linux
DIST_BASE = builds
Expand Down
2 changes: 1 addition & 1 deletion NVPTest/NVPTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ std::wstring runAuth(CybsMap *cfgMap) {
request[L"shipTo_country"] = L"US";
request[L"card_accountNumber"] = L"xxxxxxxxxxxxxxxx";
request[L"card_expirationMonth"] = L"12";
request[L"card_expirationYear"] = L"2020";
request[L"card_expirationYear"] = L"2021";
request[L"purchaseTotals_currency"] = L"USD";
request[L"item_0_unitPrice"] = L"12.34";
request[L"ccAuthService_run"] = L"true";
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ For running the sample follow "Running the Samples" section.

NOTE:To run NVPTest samples,Please provide a test account number instead of masked account number"xxxxx" in NVPTest.cpp file else transaction fails.

## Meta Key support
Meta Key is a key generated by an entity that can be used to authenticate on behalf of other entities provided that the entity which holds key is a parent entity or associated as a partner.

SOAPI Cplusplus SDK supports meta key by default. Additional detail regarding cybs.ini changes.

merchantID=<comment/remove this line> and send merchantID in request. <br>
keysDirectory=\<Directory where .p12 is present><br>
keyPassword=\<Password of .p12 file><br>
keyFilename=\<Downloaded meta key file for portfolio or Account MID><br>


##Generating stub code for different wsdl version:
Expand Down
2 changes: 1 addition & 1 deletion mkinstall.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ rem This is the packaging batch file for Windows.
rem For Linux, run "make" in the client subdirectory.
rem *************************************************
set platform=%1
set CLIENT_LIBRARY_VERSION_VALUE=6.0.3
set CLIENT_LIBRARY_VERSION_VALUE=6.0.4

set BUILD_DIR=builds
if "%platform%"=="win32" (
Expand Down
2 changes: 1 addition & 1 deletion resources/auth.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<ns2:card>
<ns2:accountNumber>4111111111111111</ns2:accountNumber>
<ns2:expirationMonth>12</ns2:expirationMonth>
<ns2:expirationYear>2020</ns2:expirationYear>
<ns2:expirationYear>2021</ns2:expirationYear>
</ns2:card>

<ns2:ccAuthService run="true">
Expand Down