Transaction amount for bitcoin payment gateway
If you insist on using bitcoind directly, you could always use the gettransaction rpc call to get transaction info on that transaction.
Hopefully you're using xpubs or at least a list of pre-imported addresses, and not using that bitcoind to manage your wallet/generate new addresses itself though. You shouldn't keep your private key on the live bitcoind node connected to your public ecommerce site.