首页 文章

如何在payumoney支付网关php集成中获取自定义参数

提问于
浏览
0

我正在使用php集成的payumoney支付网关 . 现在我差不多完成了,但是当我从payumoney网站付款流程返回时,只想在成功或失败后的响应中使用自定义参数 .

因此,如果有人对此有所了解,将非常感谢 .

1 回答

  • 2

    您可以使用udf1到udf5用户定义的参数来传递自定义参数的示例,

    <input type="hidden" name="udf1" value="<?php echo $custom_var1; ?>" />
    <input type="hidden" name="udf2" value="<?php echo $custom_var2; ?>" />
    

    在您的成功页面中,您可以获得此传递的参数数据,

    <?php
    ...
    $custom_var1 = $_POST["udf1"];
    $custom_var2 = $_POST["udf2"];
    ...
    ?>
    

相关问题