• Hello there, I’m having problems to setup CPA based sites. Like I am going to use content locker from CPAlead but I am having problems to setup this and their offerwalls. Like I setup almost everything but I always stuck on the last page for postback. Suppose if someone completes the task given by the CPA site but I am not able setup s2s callback/postback option. Is there any way to do this. I’m using CPAlead right now. Can you tell me the way to implement this on WordPress?

    As there’s no specific plugin for this, I want your help badly

    Here’s documentation links

    https://www.cpalead.com/documentation/postback/index.php
    https://www.cpalead.com/documentation/api/
    • This topic was modified 4 years, 5 months ago by Jan Dembowski.
    • This topic was modified 4 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Sorry for the late reply. In case you are still in need of a solution, to handle a postback request from CPAlead you could create a custom page template which contains the necessary PHP code.

    The CPALead docs offer typical PHP code to save passed data in a DB table. In WP you can use wpdb class methods to interact with the DB instead of mysqli methods. You can save data in a custom table this way. You could instead save data within the WP data schema. If so, there are a number of helper functions you can use depending on where you want the data saved.

Viewing 1 replies (of 1 total)
  • The topic ‘How to setup postback URL for CPA based sites’ is closed to new replies.