Skip to content

Commit ce57a16

Browse files
committed
Update get-customer-payment-profile.py
1 parent ce05fe9 commit ce57a16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CustomerProfiles/get-customer-payment-profile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_customer_payment_profile(customerProfileId, customerPaymentProfileId):
2525
print "Successfully retrieved a payment profile with profile id %s and customer id %s" % (getCustomerPaymentProfile.customerProfileId, getCustomerPaymentProfile.customerProfileId)
2626
if hasattr(response, 'paymentProfile') == True:
2727
if hasattr(response.paymentProfile, 'subscriptionIds') == True:
28-
if hasattr(response.subscriptionIds, 'subscriptionId') == True:
28+
if hasattr(response.paymentProfile.subscriptionIds, 'subscriptionId') == True:
2929
print "list of subscriptionid:"
3030
for subscriptionid in response.paymentProfile.subscriptionIds.subscriptionId:
3131
print subscriptionid

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy