Posts: 2
Registered: ‎08-10-2018

Getting card information after user created new payment profile using Accept Customer


Using Accept Customer integration we are displaying the form Add Payment Profile, to allow the customer to add a new credit card.

We are also using IFrameCommunicator to detect messages from the iframe.


But once the user has successfully stored the credit card details, how can I retrieve the payment profile id?

I could query the list of all the payment profiles of that specific user, but what if the user has multiple payment profiles?
How would I know which one has just been added?