Advance software forum
May 18, 2012, 08:03:21 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: AJAX Single Page Checkout Paypal Option Not Showing  (Read 3663 times)
0 Members and 2 Guests are viewing this topic.
pyrowari
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: February 03, 2009, 03:20:43 AM »

Hi, Thank for the superior contribution.
But there is a problem, it seems cannot show the paypal option, is it not supported? Huh
Logged
Alex
Administrator
Full Member
*****
Offline Offline

Posts: 128


View Profile
« Reply #1 on: February 03, 2009, 06:21:02 AM »

Hello pyrowari,

Paypal is supported, but only a simple paypal, which comes with the default OsCommerce installation.
So if you have paypal IPN, or some other contribution installed, payment modules need to be changed in order to support
ajax calls. Our demo has paypal working..
Logged
1derworks
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #2 on: February 11, 2009, 06:52:25 PM »

Uh - I don't see Paypal as an option in your demo. And how specifically can I make this work with Paypal Website Payments Standard? Help, please. Awesome contrib! Wish it would work on my Paypal-only STS OSC 2.2 site.
« Last Edit: February 11, 2009, 07:40:51 PM by 1derworks » Logged
kotau
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #3 on: February 11, 2009, 08:58:15 PM »

Hi,

I have the same problem with "Paypal Website Payments Standard" not showing on the ajax checkout form.

These are the paypal payment options available for osc2.2rc2a:

PayPal Website Payments Pro (US) Direct Payments      
PayPal Express Checkout      
PayPal Website Payments Standard      
PayPal Website Payments Pro (UK) Direct Payments      
PayPal Website Payments Pro (UK) Express Checkout

I have enabled:

PayPal Express Checkout      
PayPal Website Payments Standard   

FYI, "PayPal Express Checkout" appears under the ajax "Checkout" button but is not integrated. Once I have the standard checkout working I will spend some time to get Express Checkout working too.

I do have the ajax authorise.net option working.


edit. Disabling the Express Checkout option does not fix things.

Logged
1derworks
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #4 on: February 11, 2009, 09:46:00 PM »

Thanks kotau,

I'm using STS and I think that may be the problem. I noticed that the ajax_checkout.php calls the goOnLoad() function in the <body> tag. The STS template file strips out that call. I added the call in the STS template and now it shows up in the ajax checkout page html - but still nothing shows on the page. I'm testing this on a local server (not live). When or if I get it working, I'll put it on my live store - it's a terrific idea that once properly executed should make the store really shine - and speed up checkout 100%.
Logged
Alex
Administrator
Full Member
*****
Offline Offline

Posts: 128


View Profile
« Reply #5 on: February 12, 2009, 04:53:06 AM »

Hello guys,

related to payment method problems

Hi,

I have the same problem with "Paypal Website Payments Standard" not showing on the ajax checkout form.

These are the paypal payment options available for osc2.2rc2a:

PayPal Website Payments Pro (US) Direct Payments      
PayPal Express Checkout      
PayPal Website Payments Standard      
PayPal Website Payments Pro (UK) Direct Payments      
PayPal Website Payments Pro (UK) Express Checkout

I have enabled:

PayPal Express Checkout      
PayPal Website Payments Standard   

FYI, "PayPal Express Checkout" appears under the ajax "Checkout" button but is not integrated. Once I have the standard checkout working I will spend some time to get Express Checkout working too.

I do have the ajax authorise.net option working.


edit. Disabling the Express Checkout option does not fix things.



The sad thing I must say (however it is written in products description), only several payment methods were implemented
to work with ajax checkout. The reason is simple, if you look at any default osc payment module you'll find functions like "tep_redirect" to checkouit_payment.php with different error messages, which has absolutely no sense when using ajax.

Thus, we have rewritten modules so our ajax checkout could use them. However, we've written only basic most commonly uised module, not all of them.

The thing you could try is to adapt the payment module you need to work with Ajax checkout, but that is not that easy.
Logged
1derworks
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #6 on: February 12, 2009, 10:52:28 AM »

Thanks, Alex. At this point, I think the problem is more with STS than with Paypal payment gateway. I'll play around more with it today and see what I can do.
Logged
kotau
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #7 on: February 12, 2009, 11:22:35 AM »

Hi,

Thanks for your feedback, Alex.

I have been working on the code to disable the shipping address and options forms. In the process I noticed that the specific function for dealing with the payment is not setup to handle any of the paypal modules that I have installed. Perhaps you could consider releasing the code for the paypal module that you have on the demo site? I'm sure people would be happy to pay a small fee for that payment module.

I will definitely be spending some time on getting the Paypal Express checkout to work once I have the code for bypassing the shipping forms in place. I will let you know when I have it up and running.

BTW, Which function/s do you enable for debugging the ajax code?
Logged
Alex
Administrator
Full Member
*****
Offline Offline

Posts: 128


View Profile
« Reply #8 on: February 18, 2009, 04:09:30 AM »

Hey kotau,

Great that you want to make a paypal addon, it will be very nice. As for a debug, first of all try a great firefox addon called `Firebug`, which allows you to catch ajax request etc. Its powerful and simple to use.
Logged
trish
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #9 on: March 01, 2009, 06:24:12 PM »

I would like to know if anyone comes up with a paypal solution.  Also I would like to learn how to write modules for oscommerce.  But how do they do it without messing up users templates.  I have 2 sites now with this ajax module.  1 works fine. The other has displaced the cart module from the bottom to the side.  I know it's a simple html issue.  But this could keep some people from using a great module.
Logged
kotau
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #10 on: March 31, 2009, 01:24:08 AM »

That sounds like you removed a div or tr/td by accident.

I am working on the paypal express checkout now.
Logged
loginid
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #11 on: September 03, 2010, 05:45:30 AM »

Hi guys - just wondering if you're now supporting the Paypal Pro Official module yet?



Thanks!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 3.1.1 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!