Paypal subscription API - transaction variables not POSTed

Posted by morpheous on Stack Overflow See other posts from Stack Overflow or by morpheous
Published on 2010-05-19T06:09:21Z Indexed on 2010/05/19 8:10 UTC
Read the original article Hit count: 408

Filed under:
|
|

I am writing a payments system based around paypal, I am using the HTML 'API'.

I am passing the following form fields to PayPal:

Where 'token' is a token I generated.

According to the paypal documentation, a return method (rm) of 2 indicates to Paypal that the transaction data be posted back to the callback url using the POST method.

When processing items using 'buy_now' buttons, the transaction items are correctly POSTed to my callback url (payment-handler.php), but for 'subscribe' operations, although the callback url is called, no POST data is sent to the url, and also, the 'token' field is missing. Instead, there is a parameter called 'auth'.

I cant see anything in the paypal docs about a 'auth' field - so I dont know whats generating it and if I can reliably using it. Can anyone shed some light on this?

© Stack Overflow or respective owner

Related posts about php

Related posts about paypal