Am using django oscar paypal and django oscar-0.7, when i submit for payment page get redirected to paypal site. After continuing that step and redirecting back to my site, it shows basket is empty and all paypal session is lost. Am stuck up here. Please help me in this?
The problem was i was using get method for redirecting to paypal,later i changed that to post and it worked for me.I have used oscar for this, in that checkout view i wrote redirection in post function,which made it work
Related
I am integrating paypal with my openedx ironwood install.
To implement ecommerce capabilities - openedx ironwood uses django oscar shopping cart.
It works to the point where one can enter their credit card information and submit the form.
However after submitting the form the following error occurs
and this is the corresponding address in the address bar:
https://http/payment/paypal/execute/?paymentId=PAYID-LZWTHVY60U970153W662623L&token=EC-45D081042G524235T&PayerID=UBRT2SFRKASXL
Any idea on how I can fix this?
It appears the URL https://http/payment/paypal/execute/ was given to PayPal as the return URL, and so it tried to return there after payment approval within the PayPal checkout.
You / the django oscar shopping cart needs to pass a valid return URL to PayPal in the API call at payment creation time.
I'm trying to figure out how to post to my Facebook page automatically from my website. I have a custom CMS written in PHP that I use with my website, and I have already created the Facebook App and set up the necessary App ID and App Secret. I have PHP code written that when I create a page in my CMS, it will take the Page Title and a blurb of the content and create a post in my Facebook page, however because my Facebook App is not live, only I can see the post.
I've tried to apply for my app to go Live, but have been denied because I do not involve a login process. However, I don't want to log in again. That defeats the whole point of having the extended life access token.
Is it possible to do what I am trying to do? Or is there something I need to include in my app review request to have this approved? Any insight would be greatly appreciated, as the response I get from Facebook is rather generic and unhelpful.
Thank you!
so I am trying to set up django-oscar-paypal with django-oscar. So, everything works fine, the paypal express checkout page shows correctly, then it redirects back to the store and when i click the place order button, it redirects to an empty basket, with no transaction being recorded in the dashboard, except for the express dashboard, which shows success. My guess is there is a session loss, or I need to edit the checkout view somehow for it to post the request, but i can't find anywhere on how to do that, and copying the one from the sandbox isn't helpful. If anybody managed to make it work I would be very grateful for help.
I'm following the tutorial here: http://www.sarahhagstrom.com/page/3/
I'm at the part where we go to myappdomain.com/accounts/login to see the login page, but for me the website is just redirecting back to the index page at myappdomain.com. Does anybody know what the issue might be? Thanks.
I had a similar problem and the issue was that I was already logged in as admin.
Go to the admin area and make sure you logout, then you should be able to go to myappdomain.com/accounts/login page enter your details here and get redirected only after you login.
I want to POST a form manually using urllib and redirect the user to that page as if he had clicked the submit button in a web browser.
The reason I'm doing this is because before submitting a payment to paypal, I need to store some information into the DB. Then I want to handle the user to the paypal website without having him to click again in a "Buy now" button.
I'm using Django, if this matters somehow.
is this possible? thanks
This tool might help you: http://wwwsearch.sourceforge.net/mechanize/