Hurricane
Beta member
- Messages
- 4
- Location
- Switzerland
Hi,
I have implemented offertoro on my website and everything works fine expect the postback from my site.
Information from OfferToro:
The following information will be sent to your postback url:
id = The ID of the conversion in our system
oid = The ID of the offer converted in our system
amount = The amount that your user should receive for this conversion nominated in your currency. For example if your currency name is Points and your Currency Equivalent field is 35 and the conversion worths $1, we will send "35" in this field to you.
currency_name = The currency name that you set in your App's page.
user_id = The id of your user, the one you placed in the iframe integration.
payout = The publisher's revenue for this conversion.
o_name = The name of the offer converted.
sig = A signature to be sure the postback is legit. The signature is composed like this md5(oid + "-" + user_id + "-" + YOUR APP's KEY). You can find yor App's key in the App's detail page.
Important:
We expect a "1" (without quotes) as a response to a successfull received postback and a "0" (without quotes) to indicate that the postback was not received correctly. We will try to send the postback up to 5 times if not receiving a "1" as a reply. After that we will send you an email with the data of the conversion so you can process it manually.
Every time I get a error:
The postback is 0 and now my question:
What do I have to write in my PHP file that the postback is 1 and the user get his coins?
Sorry for my bad english im from switzerland
Regards,
Hurricane
I have implemented offertoro on my website and everything works fine expect the postback from my site.
Information from OfferToro:
The following information will be sent to your postback url:
id = The ID of the conversion in our system
oid = The ID of the offer converted in our system
amount = The amount that your user should receive for this conversion nominated in your currency. For example if your currency name is Points and your Currency Equivalent field is 35 and the conversion worths $1, we will send "35" in this field to you.
currency_name = The currency name that you set in your App's page.
user_id = The id of your user, the one you placed in the iframe integration.
payout = The publisher's revenue for this conversion.
o_name = The name of the offer converted.
sig = A signature to be sure the postback is legit. The signature is composed like this md5(oid + "-" + user_id + "-" + YOUR APP's KEY). You can find yor App's key in the App's detail page.
Important:
We expect a "1" (without quotes) as a response to a successfull received postback and a "0" (without quotes) to indicate that the postback was not received correctly. We will try to send the postback up to 5 times if not receiving a "1" as a reply. After that we will send you an email with the data of the conversion so you can process it manually.
Every time I get a error:
The postback is 0 and now my question:
What do I have to write in my PHP file that the postback is 1 and the user get his coins?
Sorry for my bad english im from switzerland
Regards,
Hurricane