user4189 Fra Ukendt Member since dec. -0001 user4189 30 maj 2017 14:54 Hi all, I'm working in an Authorize.net payment module and I have a question about the transfer() method. According to the documentation I have to return an array with the URL and method to make LiteCart sending the request to the Authorizet.net, but the provider already provides an interesting SDK I already worked with, then I'd like to send the request by myself and not by LiteCart. In others words, inside the transfer() method I'd like to process the payment myself (sending the request) and send the results to the check()method. Should I return a GET method with a fake URL in that array? Thanks, JG
tim Founder Fra Sweden Member since maj 2013 tim 31 maj 2017 23:49 If you send the request just perform your request within transfer() and don't return anything. The return data is only necessary if you want to send the user to a third party payment window.
user4189 Fra Ukendt Member since dec. -0001 user4189 1 jun. 2017 20:13 Hm thanks Tim, good call. That worked like expected. Thanks! -- JG
tim Founder Fra Sweden Member since maj 2013 tim 1 jun. 2017 21:45 :) Have you ever stumbled upon a platform with a simplier way of constructing a payment module?
user4189 Fra Ukendt Member since dec. -0001 user4189 1 jun. 2017 21:57 Yep, it's very easy. Just transfer() and verify() method and everything is working. Good job ;-)