The notify request is used similarly to the success request with the exception that it's made by Suomen verkkomaksut, not the user's browser. All it needs is a page with HTTP 2xx headers to confirm that the request has been handled.

CommentFileSizeAuthor
#1 commerce_suomenverkkomaksut-implement_notify_requests-1471722-1.patch2.37 KBAnonymous (not verified)

Comments

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new2.37 KB

The attatched patch implements the handler. It uses the same code as the success handler for most of the work. Instead of the normal submit handler, it manually advances the Commerce Order status so that it will be completed, followed by an exit() call. I figure there's no need to show anything else than the blank page since the request is made programmatically from Suomen verkkomaksut. I hope this is the right way to do this. :)

rade’s picture

Status: Needs review » Fixed

Thank you for the patch, commited and pushed to dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.