I am going to add some functionality within a new psp module (secpay) to display more data about a transaction, i.e. cvv2/avs checks, 3dsecure status (verified by visa/master card securecode) and also allow a facility to process refunds and add to an order (by essentially repeating the transaction), from within the store menu.
At the moment the only way I can see to do this is to use the form re-write functionality within drupal, which is not ideal.
It would be nice if there was a hook (or something like this) to allow additional functionality to be hooked in by the psp module, rather than going the hacky route of using form re-writes, which must have a greater overhead due to it's design.

Thanks,

Malcolm

Comments

deadmalc’s picture

I have no problems doing this myself but would like a consensus, as I would also like to add functionality to add/remove items from shopping carts, change shipping costs and then allow to either automajically refund/increase the charge, or if specified present an option saying "£2.50 to refund" or "£2.50 to charge"
So I would like to add a generic hook into the store module to add this kind of functionality, of course form rewrites could do it, but that isn't really pretty and a hook would be nicer, or is there already one?

sime’s picture

Version: 4.7.x-1.x-dev » master
Component: store.module » -- other --

Putting to CVS. I should say that you wouldn't get concensus without much more info. Also this seems to be a rare use case - ppl may not have the time to commit to review and concensus.

sime’s picture

Component: -- other -- » store
Status: Active » Closed (won't fix)

no follow up.