exhaler
Hi all,
i'm trying to integrate the audi e-pay to a php website and really having a hard time. i read the tutorials they gave me and the sample code but didn't reach anything, even the sample code has bugs in it.
if anybody here has done it before can you please help me.
thanks
Kassem
Hi exhaler,
I am currently working on a project which will use Audi's e-Pay service. I'm going to meet them soon (probably next week) so we could discuss everything. If you want, maybe you could list some of the problems you're facing during development so I could ask them about them then get back at you.
exhaler
my problem is that i don't know what to send in the php code, the guide tells me but not in code. on top of that the sample is filled with bugs.
what i need is a working sample to see where each parameter goes and what i should send to the system.
xterm
Hello exhaler,
Kindly refer to the following link and revisit your original post to update it with the necessary information.
How to ask questions
P.S.: I've already modified your original subject, please modify the content.
exhaler
Thanks for the help, and sorry if i asked about it in a wrong way and pointing out the write way to ask.
after editing the sample (i.e: removing the bad syntax), i was able to integrate it successfully. now to steal some money :D
rolf
I worked with it once. It works. I think you must scrap the PHP code they give you and start from scratch with their API, or maybe use one of their simple examples. I vaguely remember having a problem and resolving it by using the "keep it simple" philosophy. Or maybe it was bad syntax... I forgot it was like 4 years ago.
exhaler
so true rolf, i just took the php part from their sample and edited it to my needs. they could at least put some helpful comments //this code is useless :D
exhaler
i ran into another problem :(, after i finish from bank audi's page i get redirected to a page i specify (paymentresponse.php) to output any messages, however i get this error message
Forbidden
You don't have permission to access /paymentresponse.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
this was working just a couple of days ago, and its getting really frustrating
did this happen with you Kassem??
Kassem
I haven't touched Audi's e-Pay API yet because I'm still waiting for the client to setup the meeting. So I cannot be of much help to you :/
But I talked to someone called Rita (I think) on the phone and she said that they do provide a sandbox in which you can test and make sure everything is working. And if it's not, they look into your code and try to see what went wrong. Give them a call and see if they would help.
exhaler
a quick update, i fixed the problem (big sigh!!! and no more blood stains on the wall :D) turns out the hosting company doesn't allow redirects and needs to make an exception something to do with the apache configuration (mod_security). as for Rita she didn't offer much assistance :(
be sure to look into that Kassem
thanks for all the help
rolf
I found the code I did to integrate MIGS into Moodle. Let me know if you need it!