Jump to content
Sign in to follow this  
Tanaka

EFSnet Payment Module

Recommended Posts

Does anyone out there need a EFSnet Payment module? (for EFSnet merchant accounts)

I have created one (and it works!), but I was wondering if there was any demand to post it quickly, rather than clean up the code so its 'perfect' before posting it.

Let me know,

Joseph

Share this post


Link to post
Share on other sites

I didn't see the aforementioned EFSNet Payment Module in the contributed list of modules, so I have uploaded mine. My EFSNet Payment Module has been tested to work with osCommerce 2.2 Milestone 2. It is stable, and will work in production mode, or test mode. Also uses either CreditCardCharge or the CreditCardAuthorize method.

 

For more information on EFSNet parameters, please see the EFSNet documentation available at http://www.concordefsnet.com. For installation instructions, see the included INSTALL.TXT. If any bugs are discovered, please email them to me, and I will be glad to work on them as I get time. My email is in the INSTALL.TXT file.

 

Having written an in house method for authorize.net AIM using curl, I can tell you these two are very similiar, and both pretty straight forward.

 

REQUIREMENTS:

 

php curl extension

any recent version of php 4.x.x (untested on version 5 betas/cvs)

 

http://www.oscommerce.com/community/contributions,1420

Share this post


Link to post
Share on other sites

yes, i could use it. efs seems to have a great rate. 2.35%. that flat out beats everyone that i have researched.

 

i want to be able to offer the most economical gateway/cc fees to my clients and if there is a gateway out there that works, i am very stoked.

 

and thus will be my clients.

 

many thanks!

 

randy

Share this post


Link to post
Share on other sites

Most of you in this thread probably already know this, but we found out when implementing the EFSnet module... curl has some bugs in it, and some "features" too...

 

Basically you should be using curl 7.8 or better, but note that shortly after, curl began adding in VERIFYPEER as on by default. The curl certificates file does NOT contain a certificate for EFSnet, so you'll either need to add the EFSnet certificate info, or disable VERIFYPEER by adding the following line:

 

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

Share this post


Link to post
Share on other sites

Hello,

 

I have not tried this yet, but I am confused about the SSL certificate for EFSnet.

 

When I ran "openssl s_client -showcerts -connect efsnet.conconcordebiz.net:443" I get the mess below...

 

Should I then put both of these on the server as the directions on http://curl.haxx.se/docs/sslcerts.html say:

 

2. Get a CA certificate that can verify the remote server and use the proper

option to point out this CA cert for verification when connecting. For

libcurl hackers: curl_easy_setopt(curl, CURLOPT_CAPATH, capath);

 

With the curl command tool: --cacert [file]

 

--

Will this work or is the CA certificate that I need the one missing per the error message "No client certificate CA names sent" ???

 

I'll try this out this weekend, if anyone beats me to it and can get it to work, please let us know how.

 

Thanks,

Max

 

 

CONNECTED(00000003)

---

Certificate chain

0 s:/C=US/ST=Georgia/L=Atlanta/O=Virtual Cyber Systems Inc./OU=efsnet104/OU=Terms of use at www.verisign.com/rpa ©00/CN=efsnet.concordebiz.com

  i:/O=VeriSign Trust Network/OU=VeriSign, Inc./OU=VeriSign International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by Ref. LIABILITY LTD.©97 VeriSign

-----BEGIN CERTIFICATE-----

MIIEGTCCA4KgAwIBAgIQFisaLFCqpgAeHrpRazYO6zANBgkqhkiG9w0BAQQFADCB

ujEfMB0GA1UEChMWVmVyaVNpZ24gVHJ1c3QgTmV0d29yazEXMBUGA1UECxMOVmVy

aVNpZ24sIEluYy4xMzAxBgNVBAsTKlZlcmlTaWduIEludGVybmF0aW9uYWwgU2Vy

dmVyIENBIC0gQ2xhc3MgMzFJMEcGA1UECxNAd3d3LnZlcmlzaWduLmNvbS9DUFMg

SW5jb3JwLmJ5IFJlZi4gTElBQklMSVRZIExURC4oYyk5NyBWZXJpU2lnbjAeFw0w

MzAzMjIwMDAwMDBaFw0wNDAzMjEyMzU5NTlaMIHAMQswCQYDVQQGEwJVUzEQMA4G

A1UECBMHR2VvcmdpYTEQMA4GA1UEBxQHQXRsYW50YTEjMCEGA1UEChQaVmlydHVh

bCBDeWJlciBTeXN0ZW1zIEluYy4xEjAQBgNVBAsUCWVmc25ldDEwNDEzMDEGA1UE

CxQqVGVybXMgb2YgdXNlIGF0IHd3dy52ZXJpc2lnbi5jb20vcnBhIChjKTAwMR8w

HQYDVQQDFBZlZnNuZXQuY29uY29yZGViaXouY29tMIGfMA0GCSqGSIb3DQEBAQUA

A4GNADCBiQKBgQC+qIezZ64XP9/Hye7YWJDu9nj1Kr5A467rj7hl2DCLMiSHh8P4

90oT1m7SYFR71+Kg62yIzbtudn/zZ+XDxyXFEjp6UJgRMdkSidNIOYkYoa/L866N

NHQv3LefW5n0qBCkUnfQvexhTdlmhTBD1GzY2THok8i8b/qWX4gAgO5iAQIDAQAB

o4IBFjCCARIwCQYDVR0TBAIwADALBgNVHQ8EBAMCBaAwRgYDVR0fBD8wPTA7oDmg

N4Y1aHR0cDovL2NybC52ZXJpc2lnbi5jb20vQ2xhc3MzSW50ZXJuYXRpb25hbFNl

cnZlci5jcmwwRAYDVR0gBD0wOzA5BgtghkgBhvhFAQcXAzAqMCgGCCsGAQUFBwIB

FhxodHRwczovL3d3dy52ZXJpc2lnbi5jb20vcnBhMDQGA1UdJQQtMCsGCWCGSAGG

+EIEAQYKKwYBBAGCNwoDAwYIKwYBBQUHAwEGCCsGAQUFBwMCMDQGCCsGAQUFBwEB

BCgwJjAkBggrBgEFBQcwAYYYaHR0cDovL29jc3AudmVyaXNpZ24uY29tMA0GCSqG

SIb3DQEBBAUAA4GBAM1KE4tprPBrA476ATWOfEUx4d4h0Vcarz9EZqMrgl1OuT0S

cEoGbFnn0ZTsk/BoJvOSAzAEONE/d570zC3Si8RFdtQri/zb/EdcbD3ECn1Rw5WP

JmcFKGVxO9WwZA6Nifb7FDZtMWQWVi11EtPXED2uxyVoux0F6eYzbNxyNfza

-----END CERTIFICATE-----

1 s:/O=VeriSign Trust Network/OU=VeriSign, Inc./OU=VeriSign International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by Ref. LIABILITY LTD.©97 VeriSign

  i:/C=US/O=VeriSign, Inc./OU=Class 3 Public Primary Certification Authority

-----BEGIN CERTIFICATE-----

MIIDhjCCAu+gAwIBAgIQeO5I3hhbIHHJycO1HXvdwTANBgkqhkiG9w0BAQUFADBf

MQswCQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsT

LkNsYXNzIDMgUHVibGljIFByaW1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ERTIFICATE-----

---

Server certificate

subject=/C=US/ST=Georgia/L=Atlanta/O=Virtual Cyber Systems Inc./OU=efsnet104/OU=Terms of use at www.verisign.com/rpa ©00/CN=efsnet.concordebiz.com

issuer=/O=VeriSign Trust Network/OU=VeriSign, Inc./OU=VeriSign International Server CA - Class 3/OU=www.verisign.com/CPS Incorp.by Ref. LIABILITY LTD.©97 VeriSign

---

No client certificate CA names sent

---

SSL handshake has read 2098 bytes and written 324 bytes

---

New, TLSv1/SSLv3, Cipher is RC4-MD5

Server public key is 1024 bit

SSL-Session:

    Protocol  : TLSv1

    Cipher    : RC4-MD5

    Session-ID: 8A0600007989550D8B8E292E016324D97C5A66EE2C389302529F29C623D3CC6C

    Session-ID-ctx:

    Master-Key: 468697A3BAEDE0ED55ED7D82D047EE96554912FDB248333881FA7C0E3203A0852C9FAF2F7B0F8A43

3534305133C22659

    Key-Arg  : None

    Krb5 Principal: None

    Start Time: 1071860442

    Timeout  : 300 (sec)

    Verify return code: 20 (unable to get local issuer certificate)

---

HTTP/1.1 400 Bad Request

Server: Microsoft-IIS/5.0

Date: Fri, 19 Dec 2003 19:00:49 GMT

Content-Type: text/html

Content-Length: 87

 

<html><head><title>Error</title></head><body>The parameter is incorrect. </body></html>

Share this post


Link to post
Share on other sites

I'm working on a site and we want to use this EFSnet Payment module.

 

However, our ISP doesn't support curl_init(); in their installation of PHP.

They may in the future, but we're looking for a solution now.

 

Does anybody know of an EFSnet Payment module that doesn't

require this function?

 

post or email cutup@andthepooh.com

 

Thanks!

Share this post


Link to post
Share on other sites

I get this error using the module:

 

--------------------------------------------------------

 

2013 - Lost connection to MySQL server during query

 

select code, title, symbol_left, symbol_right, decimal_point, thousands_point, decimal_places, value from currencies

 

[TEP STOP]

 

---------------------------------------------------------

 

My server has:

 

CURL support enabled

CURL Information libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.2.3

 

----------------------------------------------------------

 

Please help,

thanks!

Share this post


Link to post
Share on other sites
I get this error using the module:

 

--------------------------------------------------------

 

2013 - Lost connection to MySQL server during query

 

select code, title, symbol_left, symbol_right, decimal_point, thousands_point, decimal_places, value from currencies

 

[TEP STOP]

 

---------------------------------------------------------

 

My server has:

 

CURL support enabled

CURL Information libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.2.3

 

----------------------------------------------------------

 

Please help,

thanks!

Edited by AnnieO

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×