latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Payment Notification API Question

Home Forums Community Forum Payment Notification API Question

This topic contains 1 reply, has 2 voices. Last updated by  Bruce 3 years, 8 months ago.

Topic Author Topic
Posted: Thursday Apr 18th, 2013 at 10:08 am #47783

I have successfully written a Payment Notification handler and specified the URL in Payment Notifications URL. It is being fired, so that part is working.

I am using Authorize.net and need to discern between an initial payment (setup of ARB) and subsequent recurring payments. Is there any information that is “passable” to the handler or that can be gleaned from the usermeta data that can help me know if this is a first time payment or a repeating payment? I have a database table that needs to be populated on initial payment but the handler can just exit on subsequent payments.

Thanks,
Keith

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Thursday Apr 18th, 2013 at 11:32 pm #47844
Bruce
Username: Bruce
Staff Member

Is there any information that is “passable” to the handler or that can be gleaned from the usermeta data that can help me know if this is a first time payment or a repeating payment?

s2Member provides a lot of replacement codes that are possible to your handler via GET variables. For Payment Notifications you have these:

In addition, you can load in WordPress and use s2Member’s API Functions in your API Notification Handler.

See: s2Member® » Codex » API Functions

Viewing 1 replies (of 1 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.