Well I was corrected, I changed "templatetype" => "CC" to "templatetype" => "Invoices", and I got the same three initial responses for some reason... I was expected type => CC to change to type => Invoices
I printed out the $params variable in the "link" function and the first three parameters look correct:
active => 1 type => CC visible => on
So this is really baffling me... And I'm sure its something simply that I'm just overlooking.
I thought I found the issue, but turned out to be a futile attempt... I changed the variable names back to there defaults, as that may cause issues, but apparently not the issue I'm getting currently with CC going to the "link" function.
$GATEWAYMODULE = array(
"templatename" => "mygateway",
"templatevisiblename" => "My Gateway",
"templatetype" => "CC", # Invoices or CC
);
I must be doing something wrong... But here it goes. I'm creating a custom credit card gateway so I downloaded the module code and changed the variables as described then changed the first block to the following:
# Set the Gateway Variables
$GATEWAYMODULE = array(
"authcimname" => "mygateway",
"authcimvisiblename" => "My Gateway",
"authcimtype" => "CC", # Invoices or CC
);
The problem is that even though its set to "CC", it is calling the "link" function not the "capture" function as I was told in a response I got on another question:
So I was wondering what am I doing wrong?
Thanks
Hello,
I downloaded the module kit for creating your own custom gateway, and I see it has functions "activate", "link", "capture" which I assume are all used when a new sign-up does their initial payment, but what about recurring payments, how do you handle that with a custom gateway?
I intend to use the authorize.net CIM service (allowing authorize.net to hold the sensitive card data) so I'll need to pull that first then submit the payment back to authorize.net for processing. But I just don't see how that is possible.
Any clarification would be most helpful.
Thank you in advance!