Jump to content

las.leticia

Retired Forum Member
  • Posts

    5
  • Joined

  • Last visited

About las.leticia

las.leticia's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hi I add a callback file for this gateway with the code (...) # Get Returned Variables $status = $_POST["status"]; $transid = $_POST["transid"]; (...) if ($status=="success") { # Successful addInvoicePayment($invoiceid,$transid,$amount,$fee,$gatewaymodule); logTransaction($GATEWAY["name"],$_POST,"Successful"); } else { # Unsuccessful logTransaction($GATEWAY["name"],$_POST,"Unsuccessful"); } But still WHMCS returns a blank page in http://myserver/creditcard.php The rest of the code in the callback page is as Developer Kit say. In the plugin script, besides the "_capture" function I use the "_link" function to show the form with an specific validation code I need for this gateway, and the action of this form is set to "http://myserver/creditcard.php". Thanks in advanced Leticia
  2. Hi I install a gateway module following the "WHMCS Gateway Module Documentation" and using the Development Kit. The documentation to build a WHMCS module with a full integration say the follow in Point 5 of the : "If a merchant gateway (payment by credit card on your site) then delete the _link function (line 14) and enter your card processing code into the _capture function" The code of my plugin to return the result is the same that appears when you see the "_capture function" of the module template that comes with the Gateway Development Kit: # Return Results if ($soap_status=="success") { return array("status"=>"success","transid"=>$soap_transid,"rawdata"=>$soap_result); } elseif ($soap_status=="declined") { return array("status"=>"declined","rawdata"=>$soap_result); } else { return array("status"=>"error","rawdata"=>$soap_result); } The problem is that after the client Checkout the Invoice payment, WHMCS returns a blank page. Is necessary put other code to show to client the result (Success or Fail) of processing? Thanks in advanced Leticia
  3. Hi I'm developing a module and this module will have new pages associated to it. I don't want this new pages to be in root WHMCS folder neither the templates of that pages in the common template folder. If my module is in: whmcs-server/modules/servers/some-module/ I would like to have my pages in: whmcs-server/modules/servers/some-module/pages and my templates in: whmcs-server/modules/servers/some-module/templates Is that possible? What I must change of the code in http://wiki.whmcs.com/Creating_Pages Thanks in advanced. Leticia
  4. Hello The problem was related to my test user (in whmcs). The user already have money in whmcs credit and all orders were discounted from that credit money and of course no need to payment, so to my user the "Pay Now" button in Invoice Page never appears. Thanks Leticia
  5. Hi I follow the instructions of the GatewayDevKit. I only have in my gateway module the follow two functions: function modulename_config() and function modulename_link() because what I want is a third party gateway, so users leaves my site to pay. In the function modulename_link() I put the specific form with required fields. Then I activate and configure my gateway. When a client select to Checkout any product, and he choose my gateway, he/she receive a message as follow: " Order Confirmation Thank you for your order. You will receive a confirmation email shortly. Your Order Number is: 9450068631 If you have any questions about your order, please open a support ticket from your client area and quote your order number. Click here to go to your Client Area " instead of be redirected to the specific Payment Site to do the payment in their site and the come back to my server. I test with gateway as PayPal and occurs the same thing. How can I accomplish that the client being redirected to the specific Payment Site? I don't know if the information I give is enough, please, if something is missing let me know. Any help will be appreciated. Leticia
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated