Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal app - About to give up on this altogether


Brainache

Recommended Posts

Is your server or PayPal's server reporting the internal error? If it's yours, what do the system error logs say? They should give some clue as to what and where the internal error (500?) is. Was this installation working before, and if so, what was changed? If it never worked, it sounds like something was not installed correctly.

Link to comment
Share on other sites

Hi Phil

 

I think it's my server and now this is not always happening.

 

What is happening is that I can make transactions through the sandbox account but when I go back to my site there is an error bar at the top which says something like 'Could not verify the Paypal transaction' and the cart hasn't been emptied.

 

I've been reading old posts where this is mentioned but not come across an answer for it. I also can't get the balance for my sandbox account through the Paypal app. Seems like a communication problem somewhere with the sandbox option. The 'live' balance comes through ok.

 

Also done an IPN simulator test which works ok.

 

Any help would be greatly appreciated. I've come a long way so far with the advice from this forum so hoping I can get this solved and go 'live'.

 

I'm using a desktop PC by the way.

 

Thanks.

Link to comment
Share on other sites

When you say you can't fully access the sandbox account via the PayPal app, is that completely independent of osC? If so, it sounds to me more like a configuration error in PayPal, or a communications problem with their server. I would think you'd have to handle that with PayPal support. Otherwise, is there some osC code in the loop?

Link to comment
Share on other sites

I am using my OSC administration tool. In the Paypal app I select balance and my live balance comes through. The sandbox balance field says 'Error: The PayPal balance could not be retrieved. Please try again.'

I have entered all the API credentials etc for that account.

I can't see where I have a problem....but I have.

I'm afraid that I'm not an expert and I don't know what 'is there some osC code in the loop?' means.

Thanks.

Link to comment
Share on other sites

If your site is not yet live, how about changing all the information and making the whole thing live and doing an actual live test sale. I had a similar problem with the sandbox mode ages ago now, but everything worked fine in live mode. Just make sure that you change all the paypal required data from sandbox mode to live.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

I am using my OSC administration tool. In the Paypal app I select balance and my live balance comes through. The sandbox balance field says 'Error: The PayPal balance could not be retrieved. Please try again.'

I have entered all the API credentials etc for that account.

I can't see where I have a problem....but I have.

I'm afraid that I'm not an expert and I don't know what 'is there some osC code in the loop?' means.

Thanks.

 

You have to go to Paypal developer website , then sign up sandbox account there.

Get the 3 Api info, fill in the sandbox in Paypal App.  You will get the sandbox balance.

 

Still, I have a problem that I can't test it with sandbox. Because when it ask user to login at the payment screen,  I can't do it,  neither the fake user acct. nor real user acct.  Don't know what to do next. Don't know how to fix it.

Link to comment
Share on other sites

I would be interested to get confirmation of this.

 

I read that Paypal requires a server that has tls version 1.2 (or higher?) which my server does not. I am using a website which is hosted by Fasthosts with a package which is no longer available, so maybe uses an outdated server(?). I've had this for 10 years or so.

 

I recreated my site on a free hosting site with a server that does have or support tls version 1.2 and the sandbox balance comes through ok and the transactions complete going back to the checkout_success page ....er...successfully.

 

So it would seem that it was the server which was causing the error. I reinstalled the whole package on my old server just in case it was a duff installation first time but still no sandbox balance etc.

 

So, is it the server anybody?

 

Thanks!

Link to comment
Share on other sites

I did check Steve and what I read before about the TLS version seems to be right.

 

I have overcome the problem for the moment by enabling load balancing in my FastHosts account which had the effect of changing me to more modern servers which does have tls version 1.2 as a registered stream socket thing...my sandbox balance comes through fine and transactions complete in the test environment.

 

My only worry now is that I have to consider visitor sessions as I hosted on more than one server apparently and may have to set up some sort of cookie thing in my database. I'll have to look that up. I've got no idea how to go about it yet!

 

Thanks for your ideas.

Link to comment
Share on other sites

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...