How do I set a "Customer ID (CID)" using the s2member Pro Remote Operatios API?

I’m looking over the documentation for the s2member Pro Remote Operations API and I do not see a key-value pair to set the Customer ID (CID) for my customers. Right now, I have to manually update it each time they register for my services.

I only see a way to set the Subscriber ID, but not the Customer ID

Is there a way to set this via API or some sort of workaround solution to automate this?

Try to create a payment notification callback, and then investigate the info from the payment gateway, it should be there. Save it as a custom usermeta, so you can use it later, where you need.

@krumch, thanks for the reply. I’ve been trying to play around with the Payment Notification callback, but I’m not quite sure on how it works, if I have set it up correctly or even how-to troubleshoot it.

do you think you can provide me bit more detailed example than what the documentation has on how that would look like?

Welcome.