File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ from authorizenet import apicontractsv1
2+ from authorizenet .apicontrollers import *
3+
4+ merchantAuth = apicontractsv1 .merchantAuthenticationType ()
5+ merchantAuth .name = '5KP3u95bQpv'
6+ merchantAuth .transactionKey = '4Ktq966gC55GAX7S'
7+
8+ getCustomerProfileIds = apicontractsv1 .getCustomerProfileIdsRequest ()
9+ getCustomerProfileIds .merchantAuthentication = merchantAuth
10+
11+ getCustomerProfileIdsController = getCustomerProfileIdsController (getCustomerProfileIds )
12+ getCustomerProfileIdsController .execute ()
13+
14+ response = getCustomerProfileIdsController .getresponse ()
15+
16+ if (response .messages .resultCode == "Ok" ):
17+ print "Successfully retrieved customer ids:"
18+ for identity in response .ids .numericString :
19+ print identity
20+ else :
21+ print "response code: %s" % response .messages .resultCode
You can’t perform that action at this time.
0 commit comments