Spree Paypal Integration Error - ruby-on-rails-4

I am using Spree for my E-Commerce.
I have to integrate Paypal Payment Gateway. The tutorial that
I followed was [Paypal Integration with spree][1]
[1]: https://github.com/spree-contrib/better_spree_paypal_express. I had successfully created sandbox account. When I go for transaction all flows work fine but after I am redirected back to my own site, it throws an error "NoMethodError in Spree::PaypalController#confirm", I don't see this controller in my code and that tutorial link didn't do anything to create this one.
Please help me to resolve this. Thanks.

I am sorry. This is not a general issue.
Error was because of my code. Paypal did work fine and redirected fine.
I just had to fix my logic to handle this redirection of paypal using spree.

Related

Problem in hosting Django REST API on IIS

I was trying to host django REST API on IIS but it wasn't working properly. I worked with the same locally and it was working absolutely fine.
But when I hosted it on IIS then first of all its homepage with get method for all data from the database takes longer time to load and ended up with timeout error. And, when I tried to access other pages, the same problem occurred with them too. Only a page with post method opened but when I tried to submit data it raised an error.
I checked server configuration then I found that default error is timeout error. Now I am confused about why such things happened.
Can anyone please tell me if they faced similar issue or if they know some kind of compatibility issue or some prerequisite for hosting REST API using Django REST Framework? Or help me how can I find and fix the issue.
Are you using FastCGI? check the Authentication then try to disable windows authentication and enable anonymous authentication, try that if it will work.

Spree Forgot password

I've installed spree on my app and have currently running live.
On my local machine the app seems to work fine and when I try to use forgot password I go to the confirmation page. But on my live server, I get the error 500 screen.
I Installed the spree mailer gem for my backed and put in the smpth information, but when I try to test it I get the following error (The change you wanted was rejected.
Maybe you tried to change something you didn't have access to.)
Can anyone tell me how to setup the spree mail and forgotten passwords?
Contacted server provider and they added a server certificated to my mail server resolving the problem.

Amazon cognito confirmation issue using link

I was already implemented amazon signup verification using link and it was working fine, But suddenly from today i'm unable to use that verification link and showing some error please refer attached screen shot
Thank you for bringing this up. It happens when you do not have any OAuth Flows/Scopes configured. This is a recent bug and we are working on a fix.
A workaround is to enable any OAuth flow which will allow it to work.
Thanks,
Meghana

Django Allauth and Google

I've tried to add google login to my web application using django-allauth.
I added to my google application the following callback_uri:
"http://localhost:8000/accounts/google/login/callback"
since i'm running tests on my development server (localhost) and i don't wanna use https.
Even though, i get a 'redirect_uri_mismatch' saying that my redirect URI doesn't match any registred redirect URI.
Does anyone have any ideea about what causes this?
Thanks for your time.
Later Edit:
Using 127.0.0.1 instead of localhost solved this problem.
Recently I ran into problems trying to get Google+ to work as well. I finally got it working. I made some updates to the documentation so it's a bit easier to use. See if using the updated allauth google docs you can get it to work.
Have you try doing the following:
1. Go to the Google Developers console -> Api $ auth -> credentials
2. You should see "Client ID for web application" click "Edit Settings"
3. Change your "Redirect URI" to "http://localhost:8000/accounts/google/login/callback"
Should work after that let me know if it doesn't.
Cheers,
Dan

Django-facebook authentication

I believe i have managed to integrate Django-facebook, but it only logs in the first time. Do you guys have any idea what the problem might?