Hi,
I have a use case where the user does not complete their payment and I need to check the previous payment if it is already fulfilled.
However I cannot give an trxid with the CompletePurchaseRequest because of this code:
public function getTransactionReference()
{
return $this->httpRequest->query->get('trxid');
}
This implementation does not work:
$gateway->completePurchase([ 'trxid' => 'TEST982374982700' ])->send();
So, it is hardcoded that the trxid comes from the request query parameters. Is it somehow possible to circumvent this?