Hi, I have set up an URL: mySite.com/Listener.aspx with code to retreive Instant Notification. I have done a TEST to see that the response was successful and I do retreive those parameters exactly like below. I have copy/pasted the result below. What I now need to know is the customers Email which is: ccustemail I also now need to know if this customer has done a Refund or chargeback which should have the paraters like RFND and CHBK. My questions are as this was a TEST. How will it look like when the customers email is shown and will the variables RFND or CHBK only exist if there was a refund or chargeback as they doesn´t exist here. If that is true how will it look like exactly as I will need to make code for this to extract the values correctly. This is what I retreived from the TEST: cprodtitle ctranspaymentmethod cfuturepayments ccustzip ccustshippingzip ccustemail crebillstatus ctransaffiliate cupsellreceipt corderamount ccustcounty ccurrency ccustfirstname crebillamnt ctransaction ccuststate caccountamount ctranspublisher ctid ccustshippingcountry cnextpaymentdate cprocessedpayments cprodtype ccustcc ccustshippingstate ctransreceipt ccustfullname cvendthru ctransrole ccustaddr2 ccustaddr1 ccustcity ccustlastname ctranstime cproditem
Clickbank has a "Test IPN" link, which will send variables. Why don't you just test it? or even better, do a live order yourself and test it.. For all the time you spend on this, might as well go hire a coder to do this for you on a place like scriptlance. You can probably find someone to do this for you for like $30 or so.
But floodrod, my previous post is about that I have pushed the button "Test IPN". The result is the one in my previous post. I have written TEST 3 times in that post. I am a programmer so it is no problem. The thing is that I must need to know what to extract, what the information is. Otherwise no one could do this code. And I cant just do a live order myself and then do a refund? Because I need to test the code many times to get my code work exactly like I need to. So I do have to know how the RFND and CHBK look like and if they only will exist if there was a refund. Because in my previous post from the TEST I did with the "Test IPN" only retreives the exact list I have provided in my previous post. I must need to know the format the string comes with exactly. It cant look like my above post. The below is just examples from my head. Where is the exact documentation of how this looks like. It is impossible to code otherwise but very easy for me if I know. I will be happy to know those 3 parameters(ccustemail,RFND,CHBK) ccustemail="myEmail@hotmail.com" ccustemail=myEmail@hotmail.com& ccustemail:myEmail@hotmail.com&
Notice that this documentation does Not show how the format looks like. How it looks like in the querystring. It does just explain the parameters: clickbank.com/help/account-help/account-tools/instant-notification-service/
$_REQUEST['ctransreceipt'] .",". $_REQUEST['ccustemail'] .",". $_REQUEST['ccustname'] .",". $_REQUEST['ccustaddr1'] ." ". $_REQUEST['ccustaddr2'] .",". $_REQUEST['ccustcity'] .",". $_REQUEST['ccuststate'] .",". $_REQUEST['ccustzip'] .",". $_REQUEST['ccustcc'] ."\n";