Showing results for 
Search instead for 
Did you mean: 

Ruby 15 Mins Sample Code doesn't work???

Hi all,


I am a totally new one to authorize. I carefully followed the 15 minutes Step by Step guide to deploy the sample code of Direct Post Method. However every time I just meet the following message:


An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card. 

      This transaction has been approved. (Or anything else)


I read some threads in this forum, but right now I still fail to find out the reason. Because I totally follow the guide. This is the link:

My ruby version is 1.8.7, rails' is 3.2.1.

I really appreciate any suggestion and idea!!! Thank you very much in advance!




Get a hosting account somewhere and use an developer account in live mode. I'm sure you can afford the $8 or so it will probably cost you for a month of hosting.

Yes, probably this is a good way to solve current situation. So could you give me a little more details about the fake post? Thanks a lot again! 

Yes, probably this is the best solution to current issue. I think I will do it in the near future. Thank you, TJPride.

A fake post is just a html page with a <form /> and post to your relay response page with the SIM response data.

Thank you RaynorC1emen7! It is done!