Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal Express hanging in the process


brahms2

Recommended Posts

Dear Experts,

 

I would be really grateful for any advice...

I am so "LOST IN SPACE" now... Stuck for a long time....

I have added a help request as well on the Paypal forum that may be viewed at this site: http://www.pdncommunity.com/pdn/board/mess...message.id=1998

Also the text of the questions below.

I did very carefully everything that was written in the instruction from this contribution... I feel that I need a tiny fix or explanation to make it work.

We are ready to ship the products but stuck with the Online Store....

PLEASE heeelp!!! Many thanks in advance...

Theodore

============

 

I have installed Paypal pro ( contribution paypal_wpp_0.8.2) in OSCommerce, and using it in the Sandbox.

The trasactions made with Paypal Direct using Credit Cards are seen clearly in the sandbox.

Yet when I try to test a checkout using the Paypal Express, it opens a login page under Paypal site... see below: https://www.sandbox.paypal.com/cgi-bin/webs...N45148K1903380D

Or see the image below...

My Webpage

 

After signing in, I get to this address:

https://www.sandbox.paypal.com/us/cgi-bin/w...e8ebc06a6158b81

and get to the following screen which actulaly prompts me to open gain a login page... also it looses all the information about the products in the cart.... that were never listed under Paypal... not to talk about the shipment details... and a possible option for free shipment if the customer bought over a certain sum....

It is still a mistery how it should work....

On this page I would have expected to see the details of the transaction - the content of the shopping cart - and have a confirmation button, after which to be taken back to my Online Sotre to the shipping page, possibly to set the shipping or the the Final confirmation page if the shipping was set with all details in the Paypal page.... still the option for UPS and for a free shipping is being lost in the Paypal?...

Instead of finalizin the transaction in Paypale It gives only the option to review payment and when I press the orange rectangle it takes me back to the sign in to the Paypal account but out of the context of this transaction...

Please help understad how it works and what I should do to fix it and make it work...

Many thanks in advance and please excuse my ignorance if I am missing the obvious....

Theodore

My Webpage

 

 

 

02-06-2007 03:09 PM

 

Reply

 

 

 

Edit Message

Add This Message to My Bookmarks

Add This Message to My Subscriptions

 

 

Subscribe to this message's RSS Feed

Highlight This Message

Print This Message

Print to End (Max 50)

E-Mail this Message to a Friend

Report Abuse to a Moderator

 

 

 

 

Re: Problems with Paypal Express checkout... Options

 

PayPal_Cory

PayPal Staff

Posts: 37

Registered: 06-07-2006

 

 

 

Reply 2 of 3

 

Viewed 18 times

 

 

I think you may be misunderstanding how ExpressCheckout works (or I am misunderstanding your question):

 

ExpressCheckout allows PayPal users to select their PayPal information for use on your website. So when a PayPal buyer goes to PayPal, they only select shipping and financial options and are then returned to your site. From your site, you offer your buyer various shipping methods, discounts, etc and then submit the transaction for final processing - i.e. we can not provide any shipping details, discounts or coupon information because we don't know what the final order will look like until you submit it from your site. Once you submit it, you receive a response of whether the transaction was successful or a failure was generated and can then respond to the buyer immediately. The flow would be like:

1 Buyer chooses PayPal option on your website

2 Your application redirects the buyer to PayPal using the token received in SetExpressCheckout

3 Buyer reviews financial information and chooses shipping address (if required)

4 Buyer is redirected back to your site.

5 You gather buyer details by using GetExpressCheckout using the token and payerId data returned to your site

6 You offer any upgrades, shipping options, discounts, etc, - adjust the totals as needed

7 Verify the order data is correct with the buyer. If your buyer mistakenly chose the wrong address, you can loop them back up to step #2 using the existing token

8. Submit transaction for final processing.

9. Your application then responds to Success or Failure and directs the buyer wherever you want them to go.

This is very different than Website Payments Stadard processes where the entire flow is hosted on PayPal. We listened to our customers who wanted a way to control the transaction with more granularity and have the buyer back on the site before committing the transaction. ExpressCheckout is the solution that both shortens the entire interaction process with PayPal and gives merchants the control they need over the payment flow.

 

02-07-2007 09:13 AM Rate this message: 1 2 3 4 5 (Best)

 

 

Reply

 

 

 

Mark Message as New

Add This Message to My Bookmarks

Add This Message to My Subscriptions

 

 

Subscribe to this message's RSS Feed

Highlight This Message

Print This Message

Print to End (Max 50)

E-Mail this Message to a Friend

Report Abuse to a Moderator

 

 

 

 

Re: Problems with Paypal Express checkout... Options

 

brahms2

Contributor

Posts: 12

Registered: 01-15-2007

 

 

 

Reply 3 of 3

 

Viewed 3 times

 

 

Dear Cory,

 

Many thanks for your detaliled answer.

The problem is that I am not a an PHP programmer and even though all you say seems perfectly logical to me too, I don't think I know where to go to do the apropriate corrections.

I have used an "out of the box" contribution for OSCommerce which was alegedly doing all that job correctly. There is no one to blame except for myself choosing these solutions.

It seems that, as you can see, teh system is hanging on your Stage 3. I guess (also not able to review financial information without loosing the initial information), and is not "redirected back to my site" after that.

I am "lost in space" right now... since I have no clue how I could get this right...

Is there any additional practical suggestion form your side?

If that would help I could let you try live our site to see what is actually happening...

 

Many thanks

Theodore

02-10-2007 01:03 PM

Link to comment
Share on other sites

That's how it's supposed to work. PayPal handles all of the payment details, they come back to your site to set their shipping options and complete their order. Only then are they charged.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

Dear Brian,

 

Thank you for the explanations.

What is not clear is how is the user supposed to return to the site on the shipping page, since in my testing in the sandbox, when on the paypal site and press "review payment" it looses the innitial thread.

Also the Button Return to the site doesn't take me to the Shipment page but to a different one.

I was wondering if I give up the sandbox and start testing on the real Paypal account, things would work smoother.

 

Many thanks again,

Regards,

Theodore

 

That's how it's supposed to work. PayPal handles all of the payment details, they come back to your site to set their shipping options and complete their order. Only then are they charged.
Link to comment
Share on other sites

I'm sorry, your explanations really aren't that clear. If you get sent to PayPal's site to review your payment details, then click on the "Review Payment" button and you get sent to your website's login page, that means your /includes/configure.php file isn't correctly setup.

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

I'm sorry, your explanations really aren't that clear. If you get sent to PayPal's site to review your payment details, then click on the "Review Payment" button and you get sent to your website's login page, that means your /includes/configure.php file isn't correctly setup.

 

Dear Brian,

 

I have gone live this time (no more sandbox).

...set up the live credentials for our OSC, the username, password, and certificate uploaded and the absolute link in the admin.

Created myself a real paypal accunt and tested the Paypal pro.

Here is the scenario where I get stuck, and have no clue how to debug... your help would be of tremendous value since we are trying to go live asap.

 

1. I choose a product and do checkout.

 

2. That takes me to the login page where I have the Paypal yellow button to checkout (btw the same problem occures if I hit the Paypal yellow button from the Payment page)

 

3. If I hit the Paypal yellow button present on the Login page it takes me to the Paypal login page.

 

4. I log into Paypal with my real Paypal email address and password.

 

5. Papal opens the "Review Your Payment" page.

See here the page (i modified my real numbers): Paypal - Review Your Payment

 

6. Here if I click on the Review Payment button (the yellow rectangle at the bottom of this page) it takes me to an error page https://www.paypal.com/row/cgi-bin/webscr?d...d1e24bdaa002beb

... saying "The page cannot be found" (HTTP 404 - File not found . Internet Explorer )

 

I was expecting to open a page where be able to review my payment and then be forwarded back to my site to finalize the transaction.

If you could give me any suggestions, hints, what, where, ... that would be really great!

BTW I did not installed an SSL certificate yet, could it be related to this? Means on my site everything is still on http (not https yet). Is there any Authority not prohibitely expensive that you would recommend?

 

Many many thanks in advance,

Theodore

Link to comment
Share on other sites

The problem still seems related to your /includes/configure.php file.

That should ne good news for me, necause it seems that the only thing that was not set up in that configure.php file is the https site and to turn the SSL on.

I am actually working to install the SSL on my site now.

Is this what you suggest?

BTW, do you know how can I check if my web host has th cURL enabled?

Many thanks again,

Theo

Link to comment
Share on other sites

That would be the problem -- you have no SSL certificate on your site. When it comes back from Express Checkout, it's sent to the HTTPS URL of your site, which if it's not setup correctly, some servers will report as a 404 error.

Edited by dynamoeffects

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Link to comment
Share on other sites

That would be the problem -- you have no SSL certificate on your site. When it comes back from Express Checkout, it's sent to the HTTPS URL of your site, which if it's not setup correctly, some servers will report as a 404 error.

 

Weird...

I set up the ssl. Used the shared ssl on my webhost.

 

Basically moved all the catalog tree under ssl folder, and made all the urls, relative and absolute paths corrections in the includes/configure.php and admin/includes/configure.php.

 

The Online store workes just fine. I even see teh padlock and the https when getting on the checkout pages.

 

Yet, I still get the same error.

 

Any ideas where I should look for the problem now?

 

Thousand thanks... as usual...

Theodore

Link to comment
Share on other sites

That would be the problem -- you have no SSL certificate on your site. When it comes back from Express Checkout, it's sent to the HTTPS URL of your site, which if it's not setup correctly, some servers will report as a 404 error.

 

Dear Brian,

 

Maybe this information gives a clue about the problem....

 

So, in Mozilla Firefox (similar problem in IE)... when pressing on the Review Your Paymend button it tries to go to this address: https://verif001.secure.omnis.com/onlinesto...D=GGS58258RM2RJ

 

I am gettiing this error: "Not Found

The requested URL /onlinestore/FILENAME_EC_PROCESS was not found on this server."

 

Thankful,

Theodore

Link to comment
Share on other sites

Dear Brian,

 

IT WORKED!!!!!!!!!!!!

GREAT JOB!!!!!!!!!!!!!!!

MANY MANY THANKS!!!!

I made 2 successful transactions on Direct and Express Paypal.

 

best regards!!!!

Theodore

 

Update your /includes/filenames.php file to look like the one in the contribution.
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.

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