I'm getting the transaction status as completed from variable "st" from the URL if the transaction was the success, similarly how to get if it is canceled by the user or failed?
Here is my code,
<input type="hidden" name="business" value="{emailflexform}">
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="item_name" value="Donation">
<input type="hidden" name="custom" value="{email}">
<input type="hidden" name="cancel_return" value="http://192.168.xyz.yy/typo3test.local/index.php?id=69">
<input type="hidden" name="return" value="{url}">
<input type="hidden" name="item_number" value="{uid}">
<input type="hidden" name="amount" value="5.00">
<input type="hidden" name="currency_code" value="USD">
is it correct?
As far as I can get from your question, from the same URL you get the status for failed and canceled the transaction. Paypal sends complete information for each transaction whether failed or completed.There are two ways of getting the details : 1) Via return message. 2) Via IPN( Instant Payment Notifications ).
For more support, you need to provide the code.