Payment profile and transaction details in getPurchasableFromExtraData

Status
This content is read-only, or is not open for further replies.

stromb0li

Guest
offline
I want to pass/show the payment provider used and ideally transaction id (would settle for request id though) in a payment_received template. Is there a way to access these values?

The only way I can think of doing this is to make a database call within getPurchasableFromExtraData to search for a purchase request with the same extra_data. If they match, then join the payment_provider table and get the display_title. This feels ultra hacky though.

Thank you!

Edit: NVM, looks like you...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom