Track backwards, finding value

Hey!

Today we are using three different payment apps for a project, one of which being BriqPay.

I need to get a value out of them the moment an order has been made, I asked where they stored the value in the database and this was the answer I got:

payment.CustomerInfo.AdditionalInfo.Add("someInfo", someInfo.info);

How should I go about finding this value?

I’ve been trying to use Litium.Connect.Payments.Payment but I’m unsure of if it’s actually placed in there. I’m not able to get anything out of it when test this in our test environment.

This is how I’m trying to get it:

    private Task<string> GetInfo()
    {
        if (_payment.CustomerInfo?.AdditionalInfo?.TryGetValue("someInfo", out object result) == true)
        {
            return Task.FromResult(result?.ToString());
        }
        return Task.FromResult(string.Empty);
    }

I could be doing this all from the wrong place.
Any tips on where I should try to access the value would be greatly appreciated.

I don’t think it is the right place. What do you have about the payment? Payment system id, payment id or order system id, order id?

This issue is due to the Briqpay app returning values in the AdditionalInfo of the CustomerInfo. This is not supported in our API.

Briqpay har fixed the issue in version 1.6.0 of the app which was just released: Release Notes.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.