php - PayPal IPN returning a shopping cart or order ID for post-processing -


I have successfully postponed my custom shopping cart to PayPal - this order simply processes beautifully, and receives payments However, it sends back the data to the URL that I specified in config. The code is based on the library found here:

Then I successfully verify the data back to PayPal in PayPal - it's all great, this is my dilemma - how can I know what the IPN Confirming?

I'm not using PayPal's shopping cart, I have my own ID, this is my car ID in my database, and when I get an IPN for that cart, I will "close" the car I want to save and save it as an order to look at the later date.

I have tried to pass an additional custom field which tracks PayPal with the redirect, but that value has not been returned to the IPN. Documentation is only lacking on X.com, so I have not received any help.

Do anyone have any experience with PayPal and IPN? It does not necessarily have to be with PHP - I can explain the code - but if you have a way of sending a value to PayPal with the order and after that the value was given with the IPN, which is the Aishwarya!

If it is not possible with PayPal's API (which seems difficult to believe me) - any other suggestions on how to handle it?

I do not know if this is a good idea or not, but here are some different options:

Use the first set of A: 1 / OS1 item 1 and add the order ID for it

B: In custom fields, I'm not sure what you have, but you You can do it like order order 41 and then parse it by blasting it here. To separate them,

PayPal limits it, and I do not know why, but both of them should work. By doing this in OS / OS, it will be placed on the paypal receipt for the user, so that is my preferred method.

If someone has a better solution, I would be interested in it too!

Edit:

Clear 1 OS 1. These "options" are generally used for size / color etc. For more information on options_name 1 option_section (SP) see them. The name of the course will be "Order ID", the OS will be the actual ID.

Edit:

Seeing that document $ my2CO-> AddField ('cart_order_id', rand (1, 100)); Enter your own cart order ID This should be the correct area. Sorry for the illusion :)

Edit:

Finally, PayPal is a custom field for IPN, which is called "custom", data passes from it, it The transfer will be done for you and from the order it should be called custom on both sides


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -