Paypal Express Checkout for Payflow Pro, Shipping and Tax update - api

In our scenario, we will use PayPal Express Checkout for Payflow Pro (important as it's different from PayPal Express Checkout).
Based on documentation, https://www.paypalobjects.com/webstatic/en_US/developer/docs/pdf/pfp_expresscheckout_pp.pdf, we have to provide shipping and tax values prior to knowing customer's Shipping Address.
I think it's not practical at all, so my question - Is it possible to Update (SetExpressCheckout with existing token) shipping/tax amount after address is chosen? Or somehow update (aka Instant Updates) shipping/tax values on PayPal pages?
Also if customer will go back to shopping cart page and add/remove products should customer go back to PayPal pages or we can only update Item Information and DoExpressCheckout with new amount?

The usual, most general-purpose recommended EC flow is:
Customer is on "View Cart" page and clicks the Checkout with PayPal button without having entered any address or other information into your site
SetEC with provisional shipping/tax amounts (could be 0)
Redirect customer to PayPal site
Customer chooses shipping address at PayPal and returns
GetEC to find out their selected address for the first time
Calculate any new shipping or tax and display summary on an "order review" type page (which could allow them to select from multiple shipping options, like air/ground, if applicable)
When the customer clicks a final "Place Order" sort of button, DoEC with the updated shipping and tax amounts.
Caveat: by default the total amount of the DoEC must be within 115% or $75 of the original SetEC amount, whichever is lesser. So if any of your pricing scenarios will exceed that threshold, the original SetEC should include some placeholder Shipping and Tax amounts, so that the final total is within 115%/$75.

Related

How thuttu.com works? How they take data from other website?

How thuttu.com getting product details with MRP price and current price? and also how they getting money from filpkart, Amazon, Paytm, Snapdeal, etc..
They are very more than likely part of each sites affiliate networks therefore they have access to the respective APIs. As for how they make money, when a user clicks on an item they are redirected to the sellers site, Amazon.com for example, if they purchase that item (or in most cases for most affiliate networks, any item) then they will receive a commission based on the purchase amount.

Post an order to Shopify for unknown user

Is there a way to post an order, including payment information and shipping information, to Shopify for a new user?
For example, user ABC wants to purchase a product through my website (that is not a shopify website), and I gather all of the information required to make the purchase, including shipping address, credit card, etc. User ABC is not known to Spotify. Is there a way for me to use the Shopify API to process this transaction, including payment processing and everything else?
Shopify has a sales channel called Buy Button. You can use that for your purpose.
Buy Button
Creating a Buy Botton
Adding a Buy Button

Save and Verify the Card, Charge Later - Shopify

I'm setting up my first Shopify store and would like to offer a free trial of a product. The basic idea is the customer is shipped the product at no charge and has so many days to try out and return the product. If the product is not returned within the time period they are charged the amount agreed upon up front.
Within Shopify there is only the option to capture payment immediately or to authorize and then manually capture payment later (7 day auth limitation).
What I would like to do is validate the credit card, but not pre-auth, then the ship the product to the customer for try out. If they decide to keep the product then I charge them 30 days later as agreed by the customer.
The method I want to use with Shopify is the same as detailed by Braintree here
https://support.braintreepayments.com/customer/portal/articles/1080637-collect-payment-at-a-later-date-aka-extend-authorization-
in the section "Save and Verify the Card, Charge Later".
You can use the option as you see it: authorize and then manually capture payment later
As an alternative, you could always capture the money, and if they actually do return it, refund them the money. That is how all TV sales work and they make bazillions doing that, so why not follow their lead?

Shopify / Paypal Express: Shipping cost not showing until after payment

Ok so I got the following problem with my Shopify shop: Because my shipping varies based on weight paypal does not show the shipping rate until after the customer has logged in and paid for it. It then gets send back to Shopify where it receives the message that it will be billed an additional $10 for shipping, which already got me some complaints.
So what I want is that it will already shows the shipping cost before the customer logs in and pays for it. I imagined that more people had this problem and perhaps found a solution to fix this?
Thank you
There are a number of ways to handle this with the PayPal system, but I'm not sure if Shopify is open enough for you to make any changes. You'll probably need to ask them how it's configured and see if you have any option to adjust it.
The standard flow for Express Checkout is that you would show the user their cart and any fees you've gathered at that point so you can generate the subtotal. Then you send them over to PayPal where they login and agree, and are then sent back to your site. Back at your site you would obtain the shipping address from PayPal and you could then display a final review page that breaks down any additional shipping, tax, etc. that might be applied now that you know their shipping address. No money would actually be charged until they approve this final review page.
In order to skip the additional review page on your own site, PayPal introduced the Instant Update API a few years ago. This gives you the ability to generate a web service that PayPal's review page will call and send the shipping address so that the service can calculate shipping and tax and return it back to PayPal. The PayPal review would then update accordingly so the buyer can choose their shipping option and see the grand total on the PayPal review page. That way they can finalize and would still be returned to your site, but you wouldn't need to show another review. You could simply show the thank you / receipt page.
I'm not sure if that first method I outlined is in fact what you're getting..?? It sounds like you're saying that Shopify is skipping the extra review, finalizing the payment, and then simply notifying the user that more money was charged than they agreed to. If that's the case, I would say that's very sloppy checkout design.
Again, though, as Shopify is a hosted solution, you probably won't have the ability to adjust this on your own. It's possible they have the Instant Update API available, though, and maybe you just need to enable it..??
You'll need to check with them for more details about your options.

How to get custom fields like Invoice number to show on Paypal receipts

We are using PayPal website payment pro and we can send money live and all is well.
Our issues are:
when we view the recent payment, it should say "payment from John Smith"...but ours just say "payment from". the name of the person does not show up. well our accounting section wants it back. :-) not sure why its not or which parameter of the DoDirectPayment request I need for this.
The user submission form has an invoice number field. I also need the invoice number to show on the details page of the PayPal payment receipt. I was able to get stuff like shipping address to show up by using its parameter, but no idea to have Invoice Number show up.
I know it can be done because the old website had these and they used website payments pro API to send payments. I just am not sure of how to do this. thee is no mention of this in the API references that I see, especially for DoDirectPayments method. Any help appreciated
Norman