JS and PHP scripts to integrate with AdmitAd Horoshop and retailCRM
Entry.
The affiliate link generated in the AdmitAd, customers go to the store.
When ordering in the store a. JS script sends AdmitAd cook with such data as order number and admitad_uid.
This is all on the side of the external store data is not stored, AdmitAd can only receive data, but not to give.
What you need (in General).
1. Create a php script that
- writes data (nomercy/admitad_uid) in the database of the external http request
- records admitad_uid in the field in order retailCRM via external http request
2. To modify the provided JS script below
- use local storage
- a pair of "nomerge/admitad_uid" was also broadcast in service of claim 1.
2.1. To implement the modified scripts.
3. Create a php script on http request
- reads the order data from retailCRM
- sends data to AdmitAd according to their requirements (separate callback for each item in the order)
php 5.6.3
Documentation for retailCRM API:
help.retailcrm.ru/Develop...
help.retailcrm.ru/Develop...
General information about the relevant settings store: horoshop.atlassian.net/wi...
Access to systems will be provided to the selected contractor.
The budget is exposed from the ceiling.