Django oscar paypal - django

I am using 'django-oscar' for ecommerce website.
I integrated 'django-oscar-paypal' for payment system. However, I have a small issue in transmitting correct data to 'paypal-redirect'.
The address on checkout page appears correctly and it includes 'address, contact, and instruction'.
However, when I click on paypal button to redirect, the address appears correctly but the name slightly changes (it just omits the title) with missing contact and instruction. If I try a different address on the website, the name includes the title but still contact/instruction are missing.
After paying and coming back to preview page, the whole address section seems to be stuck with whatever was already inserted in the paypal website and I do not see the contact and instruction. I have set the paypal settings so that the address cannot be amended in the paypal-redirect page.
Is there a fix to this?
I have attached the screenshots.
Thank you in advance!
(Checkout) https://i.stack.imgur.com/35x1r.png
(Paypal) https://i.stack.imgur.com/hVNtq.png
(Preview - after paypal-redirect) https://i.stack.imgur.com/aGqgX.png

Related

Google Ad Manager adverts not showing on specific web page, but correct across rest of site

I've been running Google Ad Manager on a client's website - https://www.thewire.co.uk since 2012 without issue until July 2020 when suddenly adverts stopped appearing on the home page, though they still appear on the rest of the site. I did a deep dive into the issue at the time and could find not clear problem or solution. It's not been an issue for most of the last year, but now we need to resolve it.
What's odd is that the adverts appear if I visit the same page via a different URL, eg, https://www.thewire.co.uk/?foo=bar (query string is ignored by server) or https://www.thewire.co.uk/home/ (this is serving the same page from a different uri)
All the adverts we serve are line items we load up to Ad Manager directly - we don't use adsense. We have some in house adverts running which are set to deliver when specific slots aren't loaded, so for instance there is a leaderboard at the top of every page which should always have an advert. MPUs on the right hand column are set to collapse if no advert is picked.
When I check delivery using Ad Manager debug tool I am informed adverts are delivering correctly, and the adverts show. But in normal viewing it is not.
This is happening consistently across browsers, devices and with/without ad blockers installed, and on 'vanilla' systems running on new ISP networks across several countries, which I believe counters out any limits that may be created by cookies and IP addresses or location.
I've scoured the Google Ad Manager settings in case some form of serving block was in place, but I've found nothing, and no notifications of any limitations on our home page URL, so I'm completely stumped as to why.
I've checked the google tags and embed codes on our site and they are all OK - they are pulled from a template which is used consistently across the site, and they obviously work when I look at the same HTML via a different context, which leads me to believe the issue is some blocking in place for the specific https://www.thewire.co.uk url from Google's side.
Has anyone had any similar issue and have advise on how to resolve or able to point me to somewhere in google I can get specific support for this issue? Searches through help and the support forums have turned up nothing.
There are numerous work arounds I could apply (eg an http 301 or 302 redirect / to /home/ ) but I really want to solve the problem, not work round it only for it to arise again.
There's a previous topic on StackOverflow - Google Ads not showing on my home page - but that shows no resolution. So posting this maybe the same issue in case my necromancy on that doesn't work. The solutions linked in the comments on that post are either outdated or don't work.

email issue in opencart

An order confirmation email is sent for canceled/failed payments
User reach to the payment gateway, when reached to the cart after selecting final and reach to the payment page and user cancel the order but a successful email sent to the user did somebody face this issue before my open cart version 3.0
didn`t check the code yet, please tell me,
2) My website home page icons change into some encrypted boxes whenever some body visit my website first time later on user go in and visit some other pages and revisit the website home page, icons looks fine ,i refer so many links, even try to make changes in .htaccess file as well but nothing works,is there any way that i can fix it,i am providing my website site link,if you want because this issue never comes on local server,enter image description here,enter image description here
First thing that comes to mind is the order states options (system -> settings -> options). What state do the orders get when a payment is cancelled? Is the state unchecked for the 'order ready' states in the options?
This mainly depends on payment extension. Payment extension is responsible of setting correct order_status_id depending from 'error', 'failed', 'not completed' methods.
Sometimes, payment module has incorrect return callback links.
Again, check payment module methods.

Django oscar paypal not working

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.

How to access page by address in APEX

In the interactive report I developed with Apex, the table on the home page shows the information of a list of projects, including project name, owner etc. And the project name field of each project is a click which redirect to another page that shows more detailed project's information. In short, there is a link on the home page which directs to the page A. Sometimes, I need to copy and paste the address of this page A and send it to my colleagues so that they can go to that page directly by copying the address to their browser. However, when I tried to use the address to view the page, I got redirect to the home page instead of page A. Why this is the case? How can I achieve the redirection I want in APEX?
P.S. My APEX application do have access control where only authorised people can create and edit items in the report, but everyone can view the item and the page A is the viewing page. I am not sure if this access control have anything to do with the issue.
I got the answer from APEX forum, so I am gonna write the answer here so that it might be of some help.
The url has a session id, which belongs to the app. By default, if you copy and paste this address to another browser, a new session will be created and the old id will not be valid anymore and the url will redirect you to the login page or the home page. If you want to make this url valid all the time, you need change the deep link attribute to be enabled under the authentication. Please refer to Deep Linking for more details.

Facebook likes (with comments) not working well on a password/login protected website

I am working with our web developer to integrate Facebook Likes (with comments) onto our website. However, he is having problems because FB doesn't work very well with sites where a log in is required. Currently when you click on the 'like' button the 'like' turns into 'confirm'. You then have to click on 'confirm' and another box appears showing how the like will appear on your FB page saying 'Click Like to post this to your profile' with the option of 'like' or cancel. If you click on 'like' then it allows the comment box to pop up then you can add a comment and post to FB.
There are currently too many clicks for this to work. Does anyone have any advice? Would it be better to just use straight likes with the number perhaps or is this a common problem with website that require a login. We just want users to be able to click once, add their comment and post it to FB.
Any help would be really apprecaited. If it is technical that is fine as I will pass replies onto my developer.
Many thanks
This will generally happen for URLs and sites that are new to the Facebook scraper. It is a security measure to prevent like-jacking that some sites have done in the past. You should ensure that you test your site fully with the Debug tool and after some confirmed 'likes', that step will be automatically removed and future users will just have to click like once.
Where you are gating content behind a login, I would additionally recommend that you show different HTML (including OG tags) for anything detected with the Facebook scraper User Agent (see When does Facebook scrape my page? on the Like Button FAQ) so that, for example, the OG tags for a product detail page are picked up correctly even though the scraper is technically not logged in.