Jump to content


Corporate Sponsors


Latest News: (loading..)

No Paypal button with Paypal Standard instal

oscommerce 2.3.1 paypal standard

  • You cannot reply to this topic
8 replies to this topic

#1 jerseyboy

  • Community Member
  • 7 posts
  • Real Name:John Ewin

Posted 29 January 2012, 15:56

I am using OSCommerce 2.3.1 with Paypal Website Standard Paymant option.
However, there is no Paypal button displayed on any of the web pages.

Anyone have any suggestions as to what the problem is?

I thought by installing paypal, the buttons would be displayed. Express checkout, if enabled, displays the button on the checkout screen.

Edited by jerseyboy, 29 January 2012, 15:57.


#2 DunWeb

  • Community Sponsor
  • 10,469 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

Posted 29 January 2012, 15:59

@jerseyboy,

There is NEVER a PayPal button displayed on your product pages. The customer would add items to their cart, log in, and begin the checkout process which ends with the customer making payment on PayPals website.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:

:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:

#3 jerseyboy

  • Community Member
  • 7 posts
  • Real Name:John Ewin

Posted 29 January 2012, 19:23

Chris,
I understand your point, but I didn't make clear what I was trying to do.
I want all customer information to be added in paypal. No login on my site.
I just want to pass to paypal the items that have been selected on my website. I understood that I did not need to create a button for the link as this was part of the add-on.

As I said, there is already an express check-out button provided with the original install. Why is there not one for the Standard paypal install?
I'm probably missing the obvious, but I don't get it.

Thanks,
John

#4 DunWeb

  • Community Sponsor
  • 10,469 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

Posted 29 January 2012, 19:45

@jerseyboy,

Quote

I want all customer information to be added in paypal. No login on my site.

Not possible. You COULD install the Purchase without Account add on, however it STILL requires all of the information that creating an account would require. In fact, with increasing PCI DSS compliance laws, the 'NO account' option found on some websites may soon become a thing of the past.

Quote

As I said, there is already an express check-out button provided with the original install. Why is there not one for the Standard paypal install?
I'm probably missing the obvious, but I don't get it.

The button for PayPal standard is the REGULAR checkout button found within osCommerce. The PayPal express checkout button also requires an account on your website, I am not sure why the button is any different than the regular checkout button, in fact usually disable the PayPal Express button on my websites to keep the checkout process uniformed.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:

:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:

#5 jerseyboy

  • Community Member
  • 7 posts
  • Real Name:John Ewin

Posted 29 January 2012, 21:30

Thanks, Chris

#6 crimble crumble

  • Community Member
  • 283 posts
  • Real Name:Smoky
  • Location:Earth

Posted 30 January 2012, 07:54

The whole concept of people checking out via paypal express is to bypass the need to create an account. One of my websites has the paypal express checkout button on the login page, checkout shipping page and the checkout payment page using the PayPal WPP module. So there is no need for the customer to create an account, this is done automatically.

http://www.oscommerce.com/community/contributions,3647

However I'm currently setting up a new store without WPP and am suprised the standard module doesn't include express button fuctionality and automatic account creation like the PayPal WPP module does. So after looking around I found the PayPal Express Checkout IPN module that is based on the PayPal WPP module.

http://www.oscommerce.com/community/contributions,4791

I plan on installing this tomorrow and using it in conjuction with the PayPal IPN Module..

http://www.oscommerce.com/community/contributions,2679

#7 DunWeb

  • Community Sponsor
  • 10,469 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

Posted 30 January 2012, 14:02

@crimble crumble.

You will find the PayPal express module DOES require an account.



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:

:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:

#8 crimble crumble

  • Community Member
  • 283 posts
  • Real Name:Smoky
  • Location:Earth

Posted 30 January 2012, 17:29

View PostDunWeb, on 30 January 2012, 14:02, said:

@crimble crumble.

You will find the PayPal express module DOES require an account.



Chris

That's too bad. No doubt because of the lack of API functionality with standard payments. You would think PayPal would at least have API available for Express payments.

Edited by crimble crumble, 30 January 2012, 17:33.


#9 crimble crumble

  • Community Member
  • 283 posts
  • Real Name:Smoky
  • Location:Earth

Posted 30 January 2012, 18:32

Why can't the GetExpressCheckoutDetails api call be used to retrieve the payers name and address?

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_GetExpressCheckoutDetails

if( isset($_GET['token']) && !empty($_GET['token']) ) { // Token parameter exists
// Get checkout details, including buyer information.
// We can save it for future reference or cross check with the data we have
$checkoutDetails = paypalApiRequest('GetExpressCheckoutDetails', array('TOKEN' => $_GET['token']));

// Complete the checkout transaction
$requestParams = array(
  'PAYMENTREQUEST_0_PAYMENTACTION' => 'Sale',
  'PAYERID' => $_GET['PayerID']
);

$response = paypalApiRequest('DoExpressCheckoutPayment',$requestParams);
if( is_array($response) && $response['ACK'] == 'Success') { // Payment successful
  // We'll fetch the transaction ID for internal bookkeeping
  $transactionId = $response['PAYMENTINFO_0_TRANSACTIONID'];
}


It would be easy to automatically create an account from that information
Surely someone has done this?

Edited by crimble crumble, 30 January 2012, 18:40.