PayPal Express Landing Page and SolutionType having no effect - paypal-sandbox

I am using the PayPal Express NVP checkout process and my customer has a requirement for the following:
The user is initially presented with the login screen and not the billing page
The user should not be able to checkout anonymously by credit card
The documentation makes it quite clear that this is possible:
https://developer.paypal.com/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/
Setting the following options should achieve what I require:
SOLUTIONTYPE=Mark
LANDINGPAGE=Login
This stackoverflow article describes how to achieve the second option as part of the account settings which I have also done.
I've cleared all cache and stored cookies yet it appears these properties are having no effect whatsoever. I am still taken to the billing page and the ability to checkout anonymously remains.
Am I missing something, or is there anything else I need to do to make this work?

There is also a setting in the PayPal profile to turn off the guest checkout option. Go to profile/settings, my selling tools, and then Website preferences. Toward the bottom of the page you will find a setting "PayPal Account Optional" which should be turned off and then save the change at the bottom of the page.

when 'MARK' is passed it overrides the paypal account optional setting. That said, have you tried just passing LANDINGPAGE=LOGIN ? You don't have to pass SOLUTIONTYPE=MARK.

Just had the same issue and came across this post. What solved it for me was an additional property LandingPageSpecified, which must be set to true.

Related

Woocommerce - Order Tracking Link

I want to include a 'check my order status' link in the thank you email. Woocommerce comes with a order tracking form, but the user has to input their order id and email. Is there a way to show the tracking page without going through the input form?
I know my accounts has a view order link, but that would only work if the user is registered.
Yes, you can show an order tracking link in your email. It is a bit convoluted way and will take some time. It is much easier to let the user input his information. This makes things a lot less complicated. But if you absolutely need the order tracking in the email, then,
Put this information somewhere other than your secured site,
Make sure you update this information regularly,
Take the ID of
this information from your database and make a GET endpoint(hoping
its a web application), such that it takes in the ID number of the
information and displays it,
This GET link needs to be embedded
into a HTML form/template which you are sending as the email
If you want the whole implementation, you need to specify the tech stack you are using and other details.
If you want to show one tracking page which page customers/users can search their order status without login, then you can use the plugin Order Tracker for WooCommerce
If you use the plugin then the user can check his/her order status without login/hassle free, and also you don't need to add any extra tracking number, user can search using their order ID and phone number.
you can use it the very easy way, like making a page template or using the [cbwct-order-tracker] shortcode, anytime anywhere, and it’s also working with ajax.
You can watch the video for the plugin documentation on how to use that plugin here is the
Video Tutorial

How to change the "Account already exists" error in Woocommerce on checkout, into a login box?

Woocommerce checkout throws an error "An account is already registered with your email address", when you did not log in before checkout.
This is so clumsy. What I want in this case is to immediately show a popup with a login box, with the email address already populated.
It looks a little like this question: Woocommerce: Override login required for existing email. Add order to user account
But it is different.
I can't find anything that comes close.
I have looked for a solution as well. The closest I have found is the plugin linked below.
What I like is that when an email is added it will recognize if they are a past customer and automatically reveals a password input box underneath the email box. https://www.checkoutwc.com
This article describes more of what I mean under Login Lookup heading: https://oceanwp.org/blog/optimizing-your-woocommerce-checkout-page-with-checkout-for-woocommerce/
I have been testing it and so far I am happy with it. I signed up for the monthly subscription and will see if it helps increase sales. We get a 7-day free trial to play with it.
I also agree that Woo's solution is a little clumsy. :)
Best of luck! :)

How to implement Bill Me later in asp.net website

is there an sandbox account for testing Bill Me Later just like paypal?
BML (PayPal Credit) is now tied into Express Checkout directly. Just do a regular EC integration, but in your SetExpressCheckout request you'll set the following:
USERSELECTEDFUNDINGSOURCE=BML
SOLUTIONTYPE=Sole
LANDINGPAGE=Billing
So then you can just have two separate buttons on your checkout page, and if they click the BML/Credit button you'll add the extra parameters.
The buyer gets a different experience depending on whether those params are added or not.

How to set woocommerce checkout form values to empty

I am using Woocommerce plugin for a WordPress site. But when as user I checkout I can see form populated with last user's details. How to set form entries to blank in Woocommerce. Please help.
Fields are pre-populated with last user's detail. Is there a way to avoid this?
Not sure with your exact issue , but there might be two possible situations in your case.
You might me logged in with same user and then trying to
checkout, as woo-commerce will fetch the details of currently active
user and auto fill it during checkout.
Fields might get auto fill from your browser cache , try to checkout using another browser or
by clearing cache , if its due to cache than that's not an issue at
all, as it your browser functionality which keep the data store
temporarily for your next usage.

Pay for Access Areas in Wordpress

I want to build a wordpress site that shows some content to all, and then only shows the rest of the content to people who have paid either via paypal or credit card. Moreover, I want this access to happen automatically upon payment (if possible), i.e. I don't have to manually give that person access after I check to make sure they have paid.
Is there a way to do this in wordpress or would something like rails/django be more appropriate?
The s2member plugin will take care of this for you.

Resources