Jump to content
Sign in to follow this  
suman07

how to integrate paypal

Recommended Posts

Hello

I am new to oscommerce. I don't know how to integrate paypal module to my shop.

I found 5 paypal modules in the admin.

1. PayPal Website Payments Pro (US) Direct Payments

2. PayPal Express Checkout

3. PayPal Website Payments Standard

4. PayPal Website Payments Pro (UK) Direct Payments and

5. PayPal Website Payments Pro (UK) Express Checkout

 

I am confused which module to use.

Also, I don't know how to use them.

 

Waiting for the reply.

 

Thanx

Share this post


Link to post
Share on other sites

I am really new to oscommerce and paypal.

What are the API username, password, signature, etc.

Please somebody help me.

 

Thank you

Share this post


Link to post
Share on other sites

3. PayPal Website Payments Standard

 

pretty simple and straight forward.

 

No need to put certificate details.

 

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites
3. PayPal Website Payments Standard

 

pretty simple and straight forward.

 

No need to put certificate details.

 

Satish

 

Does anyone have a website with a demo of this module running?

Share this post


Link to post
Share on other sites
3. PayPal Website Payments Standard

 

pretty simple and straight forward.

 

No need to put certificate details.

 

Satish

 

I used the module Paypal Website Payments Standard as you suggested.

But it contains:

 

Your Private Key

Your Public Certificate

PayPals Public Certificate

Your PayPal Public Certificate ID

 

and I don't know what to input in these fields.

Because these fields are empty, I am getting warnings on paypal page(http://xyz.com/catalog/checkout_confirmation.php) like

Warning: openssl_pkcs7_sign(): error getting private key in /home/xyz/xyz.com/html/catalog/includes/modules/payment/paypal_standard.php on line 338

 

Warning: file_get_contents(/home/xyz/xyz.com/html/catalog/temp/305438-3-signed.txt): failed to open stream: No such file or directory in /home/xyz/xyz.com/html/catalog/includes/modules/payment/paypal_standard.php on line 343

 

Please suggest me.

Edited by suman07

Share this post


Link to post
Share on other sites
I used the module Paypal Website Payments Standard as you suggested.

But it contains:

 

Your Private Key

Your Public Certificate

PayPals Public Certificate

Your PayPal Public Certificate ID

 

and I don't know what to input in these fields.

Because these fields are empty, I am getting warnings on paypal page(http://xyz.com/catalog/checkout_confirmation.php) like

Warning: openssl_pkcs7_sign(): error getting private key in /home/xyz/xyz.com/html/catalog/includes/modules/payment/paypal_standard.php on line 338

 

Warning: file_get_contents(/home/xyz/xyz.com/html/catalog/temp/305438-3-signed.txt): failed to open stream: No such file or directory in /home/xyz/xyz.com/html/catalog/includes/modules/payment/paypal_standard.php on line 343

 

Please suggest me.

 

I second that question! I'm having the same problems and don't know where to find the answers.

Anyone who is willing to help us newbies out will be showered with gratitude!! :D

Share this post


Link to post
Share on other sites

Your Private Key

Your Public Certificate

PayPals Public Certificate

Your PayPal Public Certificate ID

 

These are not at all needed.

leave them blank.

 

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites

I have the latest install, v2.2RC2 and I have:

 

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

 

I really want to use "standard" since the shop isn't likely to get enough orders to justify a monthly fee, but there aren't clear instructions on what to put in the fields. If the certificate numbers, etc. aren't required, why are they there?

 

I *have* a PayPal Website Payments Standard account and *still* can't figure out where to get these numbers.

 

The older PayPal IPN plugin was simpler.

 

What version of OS Commerce do you have? I only have two pay pal modules in mine.

 

1 Pay Pal

2 Pay Pal IPN

Share this post


Link to post
Share on other sites

On my own recent install there is only 2 choices Pay pal and paypal ipn. I chose paypal and filled in my email associated with my pay pal account and everything works. Not much easier than that.

Share this post


Link to post
Share on other sites

Well, I was using another program and I wanted to try OScommerce and think this is better.

But I am missing PayPal Website Payments Standard IPN. PayPal Website Payments Standard directs you to paypal and need to create account, not all costumers will want to create an account on paypal.

With IPN there is no need.

What module can I use?

Share this post


Link to post
Share on other sites

They can pay thru credit card.

 

Chek contribution section or download rc2 and use paypal standard.

 

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites

the instructions say

 

"Set Preparing Order Status

 

The customers order is saved in the database on the checkout confirmation page before the customer is forwarded to PayPal to finalize the payment transaction. The order is saved in the database with this defined order status; by default it is Preparing [PayPal IPN]."

 

it denotes Preparing [PayPal IPN] but my install only shows Preparing [PayPal Standard] which is kind of lame because there is not place to input my PP IPN either.

Edited by newosguy

Share this post


Link to post
Share on other sites

I also got this error when trying to buy my own product

 

Permission denied in /homepages/34/xxxxxxxxxxxxx/htdocs/xx/xx/catalog/includes/modules/payment/paypal_standard.php on line 331

 

followed by:

 

Warning: fwrite(): supplied argument is not a valid stream resource in /homepages

 

 

Warning: fclose(): supplied argument is not a valid stream resource in /homepages

 

 

Warning: openssl_pkcs7_sign() [function.openssl-pkcs7-sign]: error getting private key in /homepages/

 

 

Warning: unlink(/558924-2-data.txt) [function.unlink]: No such file or directory in /homepages/

 

 

ETC....

Edited by newosguy

Share this post


Link to post
Share on other sites

Just leave the last four payment details blank.

They are optional.Needed incase You want encrypted payment buttons.Not generally used.

 

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites
Just leave the last four payment details blank.

They are optional.Needed incase You want encrypted payment buttons.Not generally used.

 

Satish

 

 

I didn't have anything in those form fields.

Share this post


Link to post
Share on other sites

paste what all You have set in right column of the payment module.YOu can place XXXX where YOu feel the info is confidential.

 

receive encrypted payment needs to be set to false.

 

Satish


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites
paste what all You have set in right column of the payment module.YOu can place XXXX where YOu feel the info is confidential.

 

receive encrypted payment needs to be set to false.

 

Satish

 

Here are screen grabs:

 

http://kagimedia.com/OSCOM_PP_1.jpg

 

http://kagimedia.com/OSCOM_PP_Installed.jpg

 

1.The Instructions Say:

 

"Set Preparing Order Status: The customers order is saved in the database on the checkout confirmation page before the customer is forwarded to PayPal to finalize the payment transaction. The order is saved in the database with this defined order status; by default it is Preparing [PayPal IPN]."

 

The Instructions denote "Preparing [PayPal IPN]" but my install only shows Preparing [PayPal Standard] and no Preparing [PayPal IPN].

 

2. are the other settings in the image correct ?

Edited by newosguy

Share this post


Link to post
Share on other sites
Here are screen grabs:

 

http://kagimedia.com/OSCOM_PP_1.jpg

 

http://kagimedia.com/OSCOM_PP_Installed.jpg

 

1.The Instructions Say:

 

"Set Preparing Order Status: The customers order is saved in the database on the checkout confirmation page before the customer is forwarded to PayPal to finalize the payment transaction. The order is saved in the database with this defined order status; by default it is Preparing [PayPal IPN]."

 

The Instructions denote "Preparing [PayPal IPN]" but my install only shows Preparing [PayPal Standard] and no Preparing [PayPal IPN].

 

2. are the other settings in the image correct ?

 

The setting are Ok.

 

 

Satish Mantri


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites

Well the way is :

If Paypal finds the ID of the customer in its account then it will ask for paypal login as the first priorty.

 

If YOu have set Paypal profile payment preferences ok then it will allow for credit card details as the other option.

 

No need to change code for this.

 

Satish Mantri


Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Share this post


Link to post
Share on other sites

Hey satish, thanks!

 

so, this option only can be change by the owner of the paypal account?

 

i asked because i'm not the owner of that account, i'm just the webmaster of the website.

 

Thanks again!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×