Member
Posts: 4
Registered: ‎03-11-2014
Accepted Solution
Retrieving email when using CIM.

I am using CIM and need to be able to retrieve the email address I set for a customer profile.  I can set it fine, but when I get the customer profile, it is not there, I just get the payment and shipping information.  Using PHP.

 

example return:

Array
(
    [status] => success
    [payment] => SimpleXMLElement Object
        (
            [customerType] => individual
            [billTo] => SimpleXMLElement Object
                (
                    [firstName] => Micheal
                    [lastName] => Kelso
                    [company] => Ashton Kulas
                    [address] => 123 Main Street
                    [city] => Point Place
                    [state] => WI
                    [zip] => 54720
                    [country] => US
                    [phoneNumber] => 678-777-8888
                )

            [customerPaymentProfileId] => 22380887
            [payment] => SimpleXMLElement Object
                (
                    [creditCard] => SimpleXMLElement Object
                        (
                            [cardNumber] => XXXX1111
                            [expirationDate] => XXXX
                        )

                )

        )

    [address] => 
)
Who Me Too'd this topic