Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL + SECPAY Checkout Process


Nev

Recommended Posts

Please Please Please someone point me in the right direction.

 

 

HTTP Site = http://www.domain.com/shop

 

HTTPS Site = https://www.domain.com/shop

 

 

As you can see they are both the same.

 

The PROBLEM.

 

If I enable SSL within osCommerce when completing a transaction on the SECPAY form hosted by SECPAY on https://www.secpay.com/java-bin/ValCard?. The site returns a page not found when going back to the order accepted page. If I disable SSL all works fine.

 

 

Any IDEAS please, as I need this in order to add possible payment options. Thanks in advance...

 

 

Nev

Link to comment
Share on other sites

HTTP Site = http://www.domain.com/shop

 

HTTPS Site = https://www.domain.com/shop

As you can see they are both the same.

 

The PROBLEM.

If I enable SSL within osCommerce when completing a transaction on the SECPAY form hosted by SECPAY on https://www.secpay.com/java-bin/ValCard?. The site returns a page not found when going back to the order accepted page. If I disable SSL all works fine.

Any IDEAS please, as I need this in order to add possible payment options. Thanks in advance..

 

Nev

Hi Nev

 

I'm not sure what you mean about them bith being the same - the secure one in httpS. Anyway, if you use SECPAY's secure server for CC transactions do you need your own SSL? In fact have you got a certificate?

 

Won't it all work without and the padlock appear when a customer goes to secpay?

Link to comment
Share on other sites

The default action of SECPay is to use a pass through based request that acts as a GET submission, since a https request would be an implicit redirect the http URL needs to be used in the default operation.

 

HTTP Site = http://www.domain.com/shop

 

To have the SECPay Api use the https page you will need to add into the options field 'cb_post=true' to change the Api's default action, posting from SECPay back to your site.

 

HTTPS Site = https://www.domain.com/shop

 

Hope this helps,

 

Phil

[email protected]

Link to comment
Share on other sites

Found it, but value is already set?

 

Any ideas...

 

 

tep_draw_hidden_field('options', 'test_status=' . MODULE_PAYMENT_SECPAY_TEST_STATUS . ',dups=false

,cb_post=true,cb_flds=' . tep_session_name());

 

If SSL is enable an error comes back as there is a problem with your card. If SSL is disabled all works fine.

 

I do however receive an email from SECPAY informing me of a sucessful sale.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...