Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

Paypal on ecommerce module

By
Coroebus
on 2/21/15, 10:53 AM 1,390 views

Hello,

I am trying to make a small Ecommerce Website for my non-profit association. I have set up a product, paypal module and ia am able to make an order.

My problem is to produce an invoice directly on paypal return when payment is ok.

Now, payment is ok with paypal but in Odoo it stays at pending and quotation stays on draft.

How can i make it works as i want ?

Thank you and excuse for my bad english.

Nicolas

No one will be blamed for his/her knowledge with a foreign language:) Just a comment regarding the usage of Paypal for a french company or association: Yesterday my bank informed me that they were able to secure any ecommerce website: It is just a matter of technical (IT) that they are able to setup between their infrastructure and the one of the ecommerce. They explained that every bank is providing the same service (including the most secure level) to their clients. Conclusion: no need to use services like Paypal or any other equivalent third-party which are positionning themselves between a company and its bank. They were useful at a time when the banks had not yet taken all the necessary steps to address the needs for ecommerce transactions. this is no more the case. At least for France.

AD LIBITOM, michel Guénard
on 2/21/15, 7:36 PM
2
Coroebus
On 2/22/15, 3:01 AM

Thank you very much, I have set up this addon and now i have a progress : Payment Transactions is Pending and Quotation is marked as Sent.

I think there is something wrong with Paypal IPN notification from paypal to Odoo.

Can anyone tell me the good ipn notufy URL ? i have set up https://www.mywebsite.com/payment/paypal/ipn and activate it on paypal sandbox.

Thank you

[Edit]

Ok it works now ! :)

First was to set up Addon
Second was to set up UTF-8 as encoding in paypal website
Third was to set the same email in Payment Acquirers\Paypal as default email in Paypal. In my case i have 2 aliases, it must be the same as default email and odoo setup.

Thank you for help me

 

0
tk
On 2/22/15, 7:14 AM

Hi, 

Please ref the below github issue.. 

https://github.com/odoo/odoo/issues/768

By default successful paying with paypal, converts quote to sales order and moves it to "Sales Order" state. Is it a case for you also?

 Quotations being stuck in the draft state, and it started working after I removed "merchant id" from the paypal configuration (having only email set) and it started working.

https://github.com/yelizariev/addons-yelizariev/tree/master/website_sale_autopay

The above Add-on change sales order to invoice (not quotation to invoice). 

 

0

Thanks to the answer above from TK.  Just discovered that my assumption on the standard business logic for the payment process is wrong.

Anyway, there is another good blog on the paypal issue with respect to the charset used by PayPal which causes Odoo not to accept the response from PayPal.  The link is below:

http://bloopark.de/en_US/blog/the-bloopark-times-1/post/paypal-and-odoo-stumbling-blocks-107

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

3 follower(s)

Stats

Asked: 2/21/15, 10:53 AM
Seen: 1390 times
Last updated: 3/30/16, 5:42 PM