I'd like to call drupal_set_message from my ipn handling code, but this does not work because the message is associated with the session from paypal, not the users session.

The attached patch stores the messages before exiting lm_paypal_ipn_in(), using the txn_id as a key. When the user is returned to the merchant site, the messages are looked up and shown to the user. So drupal_set_message() works essentially as you'd hope it would.

CommentFileSizeAuthor
lm_paypal_message.patch1.08 KBDave Cohen

Comments

john franklin’s picture

Status: Needs review » Closed (won't fix)

Closing all 5.x and earlier issues. If this is still an issue, please reopen and update with 6.x or 7.x details.