Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

null response on getMessage() #16

Open
poxin13 opened this issue Feb 16, 2018 · 3 comments
Open

null response on getMessage() #16

poxin13 opened this issue Feb 16, 2018 · 3 comments

Comments

@poxin13
Copy link

poxin13 commented Feb 16, 2018

Using FirstData_Webservice, getting a null response on the transaction send.

        $card = Omnipay::creditCard($cardInput);

        $response = Omnipay::purchase([
            'amount'        => '100.00',
            'transactionId' => '100.00',
            'accountId'     => '100.00',
            'card'          => $cardInput
        ])->send();

        dd($response->getMessage());
@poxin13
Copy link
Author

poxin13 commented Feb 16, 2018

I noticed the gateways are updated to TLS 1.2 only, perhaps this is the cause?
https://www.firstdata.com/ecommerce/index.html

TLS1.2 Update: In order to adhere to the PCI mandate, the Gateways will update systems to support the TLS1.2 protocol only in January 2018. Please contact your sales representative for more information and steps required to ensure compliance.

@delatbabel
Copy link
Contributor

The TLS 1.2 thing is almost certainly the issue. Can you check that your system is doing a TLS 1.2 connect? Depending on the version of OpenSSL or equivalent that you have, it may be necessary to set the TLS version explicitly.

@poxin13
Copy link
Author

poxin13 commented Feb 21, 2018

I've been in contact with Firstdata about their API access, it appears some of the endpoints have been shutoff too. Even forcing TLS 1.2 in curl, etc - this would not connect using 'FirstData_Webservice'

Ended up writing my own with Guzzle using the only endpoint I could find that is still active, though according to them this will be sunset soon too.

Using version 1.1 of their API. Good enough for now until I just move to something else.

$response = $client->request('POST', 'https://secure.linkpt.net:1129/LSGSXML', [
    'cert'   => 'key.pem',
    'verify' => false,
    'body'   => $xml_data
]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants