简体   繁体   English

使用IPN的PayPal用户输入表单

[英]PayPal user input form with IPN

Quick question relating to PayPal's IPN and user input fields... 有关PayPal IPN和用户输入字段的快速问题...

Is there a way for me to use data inputted in the form fields (name and email) by the user through to the IPN. 有没有办法让我使用用户通过IPN在表单字段(名称和电子邮件)中输入的数据。

I realise there are the field names first_name, last_name and email that can be called in the IPN - however these relate to the PayPal account holder's details, not the user input. 我意识到在IPN中可以调用字段名first_name,last_name和email-但是这些字段与PayPal帐户持有人的详细信息有关,而不与用户输入有关。

From what I gather even if I have an input field in the form "named" first_name, its value will be overwritten by the first_name of the PayPal account holder. 即使我有一个名为“ first_name”形式的输入字段,从我收集到的信息中,其值也会被PayPal帐户持有人的first_name覆盖。

I could use custom - but I need 2 of them (name and email). 我可以使用自定义-但我需要其中两个(名称和电子邮件)。

Any ideas? 有任何想法吗?

You could put both values into the variable for "CUSTOM", and use a separator. 您可以将两个值都放入“ CUSTOM”的变量中,并使用分隔符。 Then in your IPN script, you could just parse out the values. 然后,在IPN脚本中,您可以解析出这些值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM