我正在尝试将自定义变量传递给 paypal IPN.我可以设法传递一个变量.但我不知道如何传递多个变量.
I am trying to pass custom variables to paypal IPN. I can manage to pass one variable. But i don't know how to pass multiple variables.
我的流程是这样的
我的自定义变量是
但现在,我只能像这样传递一个变量
But for now, I can only pass one variable like this
form.php
<input name="custom" type="hidden" id="custom" value="{$line_count}">
$_SESSION['line_count'] = $_POST['lines_txt'];
ipn.php
$sql="INSERT INTO `form`(`totalline`) VALUES ('" .$_POST['custom']. "');";
我不确定是否可以使用 Paypal 发送和接收多个变量.如果由于 Paypal 的限制而无法实现,您可以使用以下方法之一:
I am not sure, if it is even possible with Paypal to send and receive multiple variables. If it is not possible due to Paypal's restrictions, you could use one of the following approaches:
这篇关于将自定义变量传递给 paypal IPN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!