Hi,

I'm setting up a shop where payment is via Paypal, including IPN  
(Instant Payment Notification) where

a. On successful payment, Paypal then asynchronously POSTs details of  
the transaction to an URL I specify.
b. To verify this, *all* the POSTed variables must be send back to  
paypal, in the same order as they were sent, but prefixed with an  
extra variable.
c. Paypal then replies with "VERIFIED" or "INVALID".

This is all fine, except I'm not sure how to do step "b" in Agavi. I  
could write a very long validator to accept all the variables that  
Paypal sends. However:

- I'm not sure if the variables are guaranteed to be in the same  
order. Are they?
- There are *a lot* of possible variables Paypal could send (It will  
be a long validation XML file...)
- If Paypal one day decides to send an extra one, this would not be  
validated and the IPN would fail as the code wouldn't have access to  
the variables.

So is there a way to access all of the variables, without actually  
knowing ahead of time what they are?

Michal.

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to