I think `refId` should be mapped to `options[:order_id]`, which is a standard ActiveMerchant option.