cancel
Showing results for 
Search instead for 
Did you mean: 

getPaymentProfileId()

getPaymentProfileId() seems to work here ($i_pmid has a number bigger than 0)

        $obj_custprof   = $obj_auth->getCustomerProfile($i_ccid);
        $i_pmid         = $obj_custprof->getPaymentProfileId();

 

getPaymentProfileId() DOES NOT seem to work here ($i_pmid is 0)

        $obj_obj = $obj_auth->createCustomerProfile($obj_custprof);
         $i_pmid = $obj_obj->getPaymentProfileId();

 

Any way to getPaymentProfileId when the customer profile is created? or do I have create it and then call getCustomerProfile($i_ccid)?

cbarreda
Member
1 REPLY 1

createCustomerProfile return customerPaymentProfileIdList an array of paymentprofile ids.

 

 

 

 

 

 

RaynorC1emen7
Expert