We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9471da7 commit b7169cdCopy full SHA for b7169cd
1 file changed
CustomerProfiles/create-customer-profile.php
@@ -59,7 +59,8 @@ function createCustomerProfile($email){
59
if (($response != null) && ($response->getMessages()->getResultCode() == "Ok") )
60
{
61
echo "Succesfully create customer profile : " . $response->getCustomerProfileId() . "\n";
62
- echo "SUCCESS: PAYMENT PROFILE ID : " . $response->getCustomerPaymentProfileIdList()[0] . "\n";
+ $paymentProfiles = $response->getCustomerPaymentProfileIdList();
63
+ echo "SUCCESS: PAYMENT PROFILE ID : " . $paymentProfiles[0] . "\n";
64
}
65
else
66
0 commit comments