cancel
Showing results for 
Search instead for 
Did you mean: 

In CIM on the object returned by getCustomerProfileIds()

How do I iterate thru the xpath_xml->messages->ids->numericString Array?

What I have is

$obj_auth  = new AuthorizeNetCIM;
$obj_obj = $obj_auth ->getCustomerProfileIds();

I can get too; obj_obj->xpath_xml->messages->message->code but can't figure out how to get the ids.

Spent 2 hours trying multiple variations of foreach{$obj_obj->xpath_xml as $obj_id} {echo()} with no luck

cbarreda
Member
2 REPLIES 2

I think is just xpath_xml->ids and loop thru the array

RaynorC1emen7
Expert

Ok now I feel like a fool. Thought ids was inside messages and wasted 4 hours trying to make that work. duh.

Well that worked, thanks!!!!