OpenCart: Logged users gets logged out on success page - opencart

I am new to OpenCart.
An OpenCart based website was turned over to me, which I uploaded to our web host. In testing the website, I logged in to my account:
I made a test purchase and proceeded with a test payment. However, as soon as the success page is displayed, my account gets logged out. But if I click on any link within the web site, I'm back to having my account logged in again.
I've been trying to see the files/codes that are called right before and after the payment. What files do I need to look at?

Related

How to make php 5 on the site so that after paying on the payment system's website and returning back to the site, the user's session is not saved?

I need that after paying on the payment system's website and returning back to the php 5 site, the user's session is not saved.
I tried to implement this through the site and server settings. Nothing helps.
Decision:
Make a link in the code of the payment settings of the SuccessURL site after making the payment ("Return to the site") to the exit button from the personal account on the site - /login/?out.
Make the site code so that when you exit your personal account, there is a transition to log in to your personal account - /login/

Verify my application in the Google cloud account

I need help doing the verification process for one of my applications, but I do not know what the problem is, for several days I have been trying to send the application and this is the link to the application's home page
https://khotwhteech.manbij.net/Homepageapps
My application does not contain any linked site and Google's response is as follows. Hi,
Thank you for your response.
To proceed with the verification process for your project khotwhteech, you will need to provide a homepage that accurately represents your app's identity to Google users.
To update the homepage URL linked to your OAuth Consent Screen, you may do so by taking the following steps:
Sign-in to Google Cloud Console
Select the project ID:khotwhteech
Go to Credentials on OAuth consent screen
Enter the homepage URL
Click Submit
Please reply to this email once you have made the appropriate updates to your site and/or your OAuth Consent Screen so that we may continue with the verification process.
Thank you for your patience. If you have any questions, please reply directly to this email. I don't know what's wrong, is there any advice or way to solve?

Google OAuth consent screen stays on "Needs verification" after submission

My application needs to interact with the Google API's using some specific scopes, so I need to submit it for verification. When doing so, I use the Prepare for verification button in the screenshot below.
After completing the form, the toast message “Your app has been submitted for verification” appears and I am redirected to the same screen. However, the status "Needs verification" remains and no change is visible to indicate that my app is in the process of being verified. I am able to repeat the process without any visible change.
I submitted the application for the first time 2 weeks ago, but still no change. Is this a bug in Google's platform? How should we proceed (without having to buy a 100$/month support subscription)?
Thanks a lot
You can check your app verification status via email;
Your project's last submitted OAuth consent screen is under review. Additional information about your app, if required, may be requested via email at the email addresses you provided in the Developer contact information section of the Prepare for verification process. Expect the first email within 3-5 days.
You can find more information about this process in the Oauth Verification documentation.
If so happens that your app is a "restricted scope app" verification may take a few weeks instead of a 3-5 days.
You should have get an email with the confirmation that your app is being verified. If not try again and check your spam folder. If you aren't getting any emails then go to IssueTracker and report a bug.

cannot login frontend in opencart 1.5.6

If customer register with their new account then they cannot login their account and they just see Login page again and again without sending any error on console. They cannot even see "MyAccount" page after first time they register with their account. When customer enter login information on login page and hit the login button, page just refreshing without sending any error message also if you have any item in the cart, the item quantity increase with refresh page which happen when you click on login button.
If I use old customer user email and password for login customer account then its loges in and you redirect "MyAccount" page and it's working well.
If anybody have any idea about this, please share with me.
Thanks
No. You are better off using Firebase as it's a lot easier if you are doing cloud messaging. Also with Google's Firebase Cloud Messaging, You can Deliver and receive messages in a more reliable way across platforms and with authentication you have a lot less friction with acclaimed authentication.
Authenticating a user has never been more simple: Eg
OR
Saving an image to Cloud Storage: Eg

How to perform instant Facebook login for a link to Facebook login-enabled site

I wonder what is the right technique to streamline the login to my site via Facebook.
Currently, I have a web site integrated with Facebook Login button. Right now, it's an independent web site, and not a "Facebook app" (running in the canvas). While this is not my decision, this could change in long term if matters.
The way the authentication work: the "fb-login-button" is redirected to my application URL using onlogin() event; the server side uses the cookie to retrieve the "access token" and perform further Graph API work. The business logic resides on the server side.
The current business requirement is the following:
Suppose someone posts a link to my site, somewhere in Facebook, for example in our site community page:
http://www.mysitedomain.com/offer1
A Facebook logged-in user clicking on the link - should get to the target page, after his Facebook identify got verified, and the result should be personalized for that user.
If a Facebook user already has an active session with my site - trivial.
Assuming a user had approved my site (app) in the past, but has no active session - here I am looking for the best practice to do the login.
Also, I would appreciate a hint how to handle the app authorization (i.e. showing the Facebook authorization dialog) in a most efficient way.
Thanks for any hint.
Check out FB Login Architecture and FB.getLoginStatus. Based on FB documentation, If you use javascript sdk, it only triggers a Popup on the same page and once authenticated it will go back to the same page. So once the login status is confirmed then you can get users information from graph api and update via AJAX on your page. You can also checkout this server side login. Hope this helps.