Closed safrick closed 8 years ago
echo "Customer payment Profile ID: ". $response->getSubscription()->getProfile()->getPaymentProfile()->getCustomerPaymentProfileId() . "\n";
ARBGetSubscriptionResponse has subscription of type ARBSubscriptionMaskedType which has profile of type SubscriptionCustomerProfileType which has getPaymentProfile() of type CustomerPaymentProfileMaskedType which has getCustomerPaymentProfileId()
How do I get the payment profile ID out of ARBGetSubscriptionRequest using the PHP SDK?
It's not shown in the sample listed at https://github.com/AuthorizeNet/sample-code-php/blob/master/RecurringBilling/get-subscription.php