openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #04346
Re: paypal integration
Hello shazz0020,
After struggling a lot with that Paypal API, I ended up making my own
little function, and that's it, it's not so complicated after all. You can
see it here:
https://gist.github.com/guerrerocarlos/4048118
And here is the explanation about how it works:
http://blog.carlosguerrero.com/paypal-con-python/
The blog article is written in spanish, but Google translator can give you
a very good english version of it:
http://translate.google.com/translate?hl=es&sl=es&tl=en&u=http%3A%2F%2Fblog.carlosguerrero.com%2Fpaypal-con-python%2F
I don't fully understand if you want to trigger Paypal refunds directly
from OpenERP, or allow OpenERP to automatically process refunds made in the
Paypal Admin Interface.
My experience is in the last case, processing refunds triggered from Paypal
Admin Interface for users of my online service, (http://proxydns.co/) and
it's all working with Python (Django), anyway if you need more help, you
can write me, I think it could be perfectly adapted to OpenERP.
On Mon, Jan 13, 2014 at 1:26 AM, shazz0020 <shazu.psv@xxxxxxxxxxx> wrote:
> Hello Folks
>
> Iam using following API for my customized paypal module for "refund payment
> " to customer. but not working ,throws 401 error (authorization error).
> For
> this i require ACCESS TOKEN.
> Iam using following API to generate ACCESS TOKEN-
>
> https://devtools-paypal.com/guide/pay_paypal/python?env=sandbox
> check out this following link.
>
> I copied same code on my local system it prints following stuffs rather
> than
> giving me JSON response-
>
> <paypalrestsdk.api.Api instance at 0x8fc53cc>
>
> Anyone have any idea how could i generate ACCESS TOKEN ?
> and can you provide me brief description about CLIENT ID & SECRET ID used
> for generating ACCESS TOKEN?
>
> Thanks
>
>
>
>
>
>
>
> --
> View this message in context:
> http://openerp-community.2306076.n4.nabble.com/paypal-integration-tp4644100.html
> Sent from the OpenERP Community mailing list archive at Nabble.com.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References