Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

Hi ALL, :D

 

I try to setup Verisign Payflow Link to work with osCommerce.

With return URL everything works fine ... but with 'silent post' i can't get it work :(

I don't wanna be depended on customers who need to click a button and when they forget it (or close the window) ... my order is not registered in the osCommerce database. So i really wanna use silent post

 

Now i did dig deep already and found what might be the problem.

 

In includes/function/general.php there is this function:

 

------ BEGIN FUNCTION -----

 

// Redirect to another page or site

function tep_redirect($url) {

 

if ( (ENABLE_SSL == true) && (getenv('HTTPS') ==

'on') ) { // We are loading an SSL page

if (substr($url, 0, strlen(HTTP_SERVER)) ==

HTTP_SERVER) { // NONSSL url

$url = HTTPS_SERVER . substr($url,

strlen(HTTP_SERVER)); // Change it to SSL

}

}

 

PrintToLogfile($url);

 

header('Location: ' . $url);

 

tep_exit();

}

 

 

------ END FUNCTION -----

 

php function header() is for redirecting browser to another page so with return URL it works fine. But not with Silent post!!

 

i tested this with scripts ... test1.php points - with header() function - to test2.php ... test2.php writes a string to a logfile.

 

Can't believe i am the only one with this problem ... Paypal Uses IPN ... and i bet that other payment gateways use simular things like 'silent post'

 

So help with this tep_redirect() function would be much appreciated.

 

or did i overlook something?

 

 

thanks in advance

Edited by mjlaarman
  • 3 weeks later...
Posted

No respons yet :(

 

So obviously osCommerce is not compatible with PayFlow Link contributions.

I also asked support from VeriSign ... very poor support. Sad thing is we paid two years in advance. Only thing they can say is upgrade to Payflow Pro and all problems are solved.

 

Do i have better chances with Payflow Pro? Are there people who have succesfully integrated Payflow Pro with osCommerce? Feedback is much appreciated

  • 3 weeks later...
Posted

I certainly hope your problems have been solved since a customer of mine dropped this payment service in my lap today.

 

If you have any words of wisdom or advise please share, and I'll do the same as I dig into this deeper.

  • 2 weeks later...
Posted

Is this true, payflow does not work with oscommerce?

 

I've been testing the credit card payment process all day and have been getting "card declined" when I'm using the test numbers and have Verisign set to test.

 

Sandra

Posted

I have the same Merchant info on another site using a different shopping cart and the test data works fine.

Posted

it's not officially supported but it technically should work.

 

I get all the way up to finishing order... I click confirm order... but when I click the CONFIRM ORDER button to continue i get this...

 

 

Field Missing

PHONE TO SHIP field is missing and is required

 

there is a phone number in the customer test field...

  • 1 month later...
Posted

i get this same error. so i disabled the phone being required. once i did that i didn't get that error message anymore, but now the order won't go thru at all giving me an error saying it couldn't be processed.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...