Skip to content

Commit 757a469

Browse files
author
brianmc
committed
2 parents 01d4282 + ce57a16 commit 757a469

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
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

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
21
# Sample Python Code for Authorize.Net
2+
[![Build Status](https://travis-ci.org/AuthorizeNet/sample-code-python.png?branch=master)]
3+
(https://travis-ci.org/AuthorizeNet/sample-code-python)
4+
35
This repository contains working code samples which demonstrate Python integration with the Authorize.Net Python SDK (https://github.com/AuthorizeNet/sdk-python).
46
The samples are organized just like our API, which you can also try out directly here: http://developer.authorize.net/api/reference
57

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