Reply
Highlighted
Member
Posts: 2
Registered: ‎09-03-2009

Hosted CIM need to get customerPaymentProfileId after CC entered via Hosted popup

I am successfully able to use the getHostedProfilePageRequest (using PHP and XML) to let a user enter their Credit Card.

 

Now I am not understanding how to get the customerPaymentProfileId so I can charge a transaction. I looked in the API

documentation which mentiones getCustomerPaymentProfileRepsonse but I would need to enter the customerPaymentProfileId

which is what I want to get back!

 

Any help is appreciated!

Highlighted
Administrator
Posts: 591
Registered: ‎08-21-2009

Re: Hosted CIM need to get customerPaymentProfileId after CC entered via Hosted popup

You can retreive a list of any customer's profiles using the "getCustomerProfileRequest" method.  The payment and shipping profile Ids returned by this request can be used to initiate a payment.