PDA

View Full Version : Can I make my own "callback" for Gateway?



wowa
03-17-07, 09:10 PM
Can I make my own "callback" for Gateway?

eunarede
07-31-07, 08:24 PM
I want create my too, in the manul you have de docs for create it.

Matt
07-31-07, 09:38 PM
Yes, you need to see the API section of the manual for how to add a payment to an invoice.

Matt

dom974
04-01-08, 01:35 PM
hello Matt,

I know this is an old thread but my question is directly linked to this one :

After writing the code for the action "addinvoicepayment" using curl (as described in the v3 manual id 134), where should I insert it ? I tried putting it in an empty php page in the modules/gateways/callback dir, with the same name I use for my payment gateway but nothing is happening. What should I do ?

Thank you

Dominique

Matt
04-01-08, 02:12 PM
You would have to tell your custom gateway to actually make a callback to the file you create. And it doesn't matter where you put it - the modules/gateways/callback folder is just the convention we use.

Matt

david_cheong
07-01-08, 07:22 AM
which page should i call if i try to call the return page?

http://mydomain.com/modules/gateways/callback/myfile.php

but when i try to open the file, it say that the file not found in the server

* i already double confirm that the file has been uploaded to the server