Jump to content

Mass Payment Issue


Vivek Nair

Recommended Posts

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;

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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