Vivek Nair Posted November 14, 2018 Share Posted November 14, 2018 Hello, I have been trying to integrate a new payment method with WHMCS and have done it successfully. However I cannot make use of the mass payment option. Payment is occurring successfully but the invoices are not being updated. How can we manage to do that? Please note that i am using gateway_link() function. <?php ----------- ------------------ $htmlOutput = '<form method="post" action="' . $paya_cc_url . '">'; $htmlOutput .= "<input type='hidden' name='merchantid' value='{$merchantid}'>"; $htmlOutput .= "<input type='hidden' name='systemurl' value='{$systemurl}'>"; $htmlOutput .= "<input type='hidden' name='merchantkey' value='{$merchantkey}'>"; $htmlOutput .= "<input type='hidden' name='devid' value='{$devid}'>"; $htmlOutput .= "<input type='hidden' name='devkey' value='{$devkey}'>"; $htmlOutput .= "<input type='hidden' name='url' value='{$url}'>"; $htmlOutput .= "<input type='hidden' name='amount' value='{$amount}'>"; $htmlOutput .= "<input type='hidden' name='action' value='display_cc_form'>"; $htmlOutput .= "<input type='hidden' name='paytype' value='{$paytype}'>"; $htmlOutput .= "<input type='hidden' name='invoiceid' value='{$invoiceid}'>"; $htmlOutput .= "</form>"; return $htmlOutput; 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.