Jump to content

get amount for invoice ID


starnetwork

Recommended Posts

Hi,

I just build payment module with in external page

when user is back to the callback.php I want to make some validation with the payment getaway company for the transaction ID and validate the amount

(make sure that it relay paid for the same final/total invoice amount include shipping and coupons)

 

so in the callback.php page, how can I get the amount when I have only the invoice ID?

 

Regarding to the same issue, i would also like to return the currency into the callback page (the problem is that the currency is a dynamic field that changes by the users interface language and doesnt seem to return with the getGatewayVariables() function).

 

I need to know the total/actual/final amount and the currency for the order / Invoice in the callback.php

how can I get it?

 

Best Regards,

Star Network.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated