I have used a redirect method of payment using PHP. Can any one help with the callback file content?
I don't know what to define in callback.php
file.
I can't find any help from any source.
I have already refereed below link about callback in dibs
http://tech.dibspayment.com/DX/Hosted/Output_parameters/Return_pages
You need to understand that
callbackUrl
is a parameter which same as otherscancelReturnUrl
andacceptReturnUrl
parameters. Short description from your referencesacceptReturnUrl
cancelReturnUrl
callbackUrl
Because http is a stateless protocol which means that the connection between the browser and the server is lost once the transaction ends. To solve this problem your payment gateway(DIBS) suggest to use
callbackUrl
parameter, give an url to this parameter which is listened at your side. If any problem occur like mentioned in the case (closes the browser, loses internet connection ect.) DIBS will return this url address which mentioned at yourcallbackUrl
parameter with payment return parameters.So at backend you can update your payment information.