Jump to content



Latest News: (loading..)

Paypal Express not taking payments


  • Please log in to reply
5 replies to this topic

#1   offie

offie
  • Members
  • 204 posts
  • Real Name:Michael
  • Gender:Male
  • Location:Lancashire, England

Posted 06 June 2011 - 12:52 PM

Hi I am having trouble getting my Paypal Express module to work.

I am using osCommerce V2.3.1. The module came preloaded when I downloaded osCommerce.

I have setup and tested my API credentials and they return as a success.

So this is what happens and it does not matter whether I am logged into my account on my website or not, the problem is the same.
    
    1. I choose a product and add it to my cart
    2. I click the check out with paypal button which is for paypal express
    3. I get taken to the paypal website
    4. I choose to pay without logging into paypal and use a credit/debit card instead
    5. I enter all my card details then click continue
    6. I review all my information including price/delivery/address etc then click pay now
    7. I am returned to the Cart Contents page on my website with the cart showing as empty
    
    8. I have no emails to show the payment has gone through
    9. I have no customer emails to say I have bought anything
    10. No payment has gone into my account on paypal.

The final part is somehow being bypassed and payment is not going through to my paypal account and I am being returned to my shopping cart on my site which is now showing as empty.

If I now click any other link on my website the items re-appear in my shopping cart.
    
    So do you think the problem is at Paypal or is it something on my site configuration or in the code of one of my php files.

Has anyone else come across this problem? Why am I redirected to my shopping cart and not the checkout page?
    
    Thank you for any help

Michael

Edited by offie, 06 June 2011 - 12:54 PM.


#2   offie

offie
  • Members
  • 204 posts
  • Real Name:Michael
  • Gender:Male
  • Location:Lancashire, England

Posted 06 June 2011 - 02:36 PM

View Postoffie, on 06 June 2011 - 12:52 PM, said:

Hi I am having trouble getting my Paypal Express module to work.

I am using osCommerce V2.3.1. The module came preloaded when I downloaded osCommerce.

I have setup and tested my API credentials and they return as a success.

So this is what happens and it does not matter whether I am logged into my account on my website or not, the problem is the same.
    
    1. I choose a product and add it to my cart
    2. I click the check out with paypal button which is for paypal express
    3. I get taken to the paypal website
    4. I choose to pay without logging into paypal and use a credit/debit card instead
    5. I enter all my card details then click continue
    6. I review all my information including price/delivery/address etc then click pay now
    7. I am returned to the Cart Contents page on my website with the cart showing as empty
    
    8. I have no emails to show the payment has gone through
    9. I have no customer emails to say I have bought anything
    10. No payment has gone into my account on paypal.

The final part is somehow being bypassed and payment is not going through to my paypal account and I am being returned to my shopping cart on my site which is now showing as empty.

If I now click any other link on my website the items re-appear in my shopping cart.
    
    So do you think the problem is at Paypal or is it something on my site configuration or in the code of one of my php files.

Has anyone else come across this problem? Why am I redirected to my shopping cart and not the checkout page?
    
    Thank you for any help

Michael


I have now had an update from Paypal in regards to this problem. Here is what they have said:

Quote

With regards to your question I have troubleshooted the         issue further and I visited the website: https://web77.secure-secure.co.uk/         simulating the checkout flow to reproduce.
            
            Adding to the osCommerce cart one random item (Samsung         Galaxy Tab), I see it on the "What's In My Cart?" page so I         can proceed checking out with the Orange Checkout with         PayPal Express Checkout button, getting redirected to the         PayPal landing page for login, Review your payment page and         then once I click on Pay Now, the system redirects the buyer         to the "What's In My Cart?" page of your shop while it         should         redirect to the Thank you Page of your website but having         first processed the transaction with PayPal.
            
            Now, why the Cart redirected to the empty card? Probably         because the transaction was not completed and this is a         consequence, why the transaction did not complete? Because         the OSCommerce Cart did not invoke the third requested API         Call to complete the flow of your Express Checkout: the         DoExpressCheckout call which is not, in fact, logged in the         account's logs.
            
            As everything is up and fine in terms of API Credentials         (xxxxx_xxxxx) for your account, I         believe the modules pre integrating Express Checkout in         OSCommerce are malfunctioning resulting in this issue         reproduction.
            
            The issue, answering to your question, is related to those         modules and the best way for resolving it would be         contacting the OSCommerce customer support for assistance         concerning their application software malfunctioning at this         stage.
            
            However, you may want to try reinstalling the module for         Express Checkout and leave the settings defaulted; what you         need to see from the server logs is a complete set of API         Request/Response:
            
            1. the website invokes the SetExpressCheckout Request API         call and redirects the browser to PayPal
            1a. the website receives the SetExpressCheckout Response API         from PayPal with ack=Successful
            
            2. the website invokes the GetExpressCheckout Request API         call after the login in PayPal/billing info input
            2a. the website receives the GetExpressCheckout Response API         from PayPal with         ack=Successful
            
            3. the website invokes the DoExpressCheckout Request API         call after the buyer clicks on the Pay Now in PayPal
            3a. the website receives the DoExpressCheckout Response API         from PayPal with ack=Successful and the transaction happens         with a transaction ID produced.
            
            As you can understand the 2nd and 3rd steps are not         happening as only the first step of the three-steps         procedure is completed from the OSCommerce cart, resulting         in an incomplete flow.
            
            I would give a try to:
            
            - remove completely the Express Checkout module from         OSCommerce and reinstall a fresh and proper version. If the         issue replicates, then you need to investigate locally what         happens in the scripts php files as they are not working as         they should.
            
            Unfortunately from here I cannot assist you further as I         only have the 1st call logged and then all the rest of         logging is local on your server.


Now if anyone out there can understand what is happening can they please let me know.

Thank you

Michael


#3   irelandwebsitedesign

irelandwebsitedesign
  • Members
  • 1 posts
  • Real Name:Nick

Posted 19 June 2011 - 11:17 AM

Hi Michael,
I am having the exact problem with my surf shop at www.tramoresurfshop.com. Has anyone a solution to this?
Thanks
Nick

Edited by Jan Zonjee, 19 June 2011 - 12:57 PM.


#4   jaggster

jaggster
  • Members
  • 30 posts
  • Real Name:John Grapsas

Posted 22 June 2011 - 10:16 AM

I am having the same problem, also. However in my case the problem is intermittent. many customers fly through the checkout process all ok. Others try and end up with nothing in the cart and no order, as described by Michael. Answers anyone?

#5   oxwivi

oxwivi
  • Members
  • 250 posts
  • Real Name:Oxwivi Oxwil

Posted 08 January 2012 - 11:28 AM

I would like to use Express Checkout, and therefore interested in this topic. Can you all confirm that you enabled Express Checkout? On the API access page, there's grant API permissions, request API credentials and, separately, enable Express Checkout. None of you mentioned doing this step.

Attached File  API Access - PayPal.png   123.19K   29 downloads

#6   offie

offie
  • Members
  • 204 posts
  • Real Name:Michael
  • Gender:Male
  • Location:Lancashire, England

Posted 09 January 2012 - 11:50 PM

View Postoxwivi, on 08 January 2012 - 11:28 AM, said:

I would like to use Express Checkout, and therefore interested in this topic. Can you all confirm that you enabled Express Checkout? On the API access page, there's grant API permissions, request API credentials and, separately, enable Express Checkout. None of you mentioned doing this step.

Attachment API Access - PayPal.png

Sorry I can't be more helpful but I decided ages ago not to use Express Checkout as I could not find an answer to my problem so I just used PayPal Website Payments Standard instead. This means I can not now see if what your asking was done.

I am sure though that I had done all that I was meant to do but I can not be 100% certain now.

Sorry

Edited by offie, 09 January 2012 - 11:50 PM.