RSS Feed/News Payment profile and transaction details in getPurchasableFromExtraData

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
27,880
Points
823

Reputation:

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!

Continue reading...
 
Status
Not open for further replies.
Top