Country flag of customer on bigcommerce orders page is not appearing? - web

I have created a custom checkout for bigCommerce it's a third party app so I am able to create the customers and orders on the Bigcommerce portal but on the order page the country flag is not showing with the customer. Is there anything I am missing for the for order flag.
And also shipping method is not syncing with the orders.

You have to pass the geoip_country and geoip_country_iso2 with order parameters the country flag will appear with the orders according to the ip address.

Related

Stripe Payment Links with Customer Id

I am currently building an application where we want to user Stripe Payment links rather then building our own version of UI to support the same functionality. However I notice that Stripe Payment Links create a new customer every single time. Is there a way to attach my customer id to the payment link so that a new customer is not created when they attempt to buy more then one product? I would prefer not to have to have a single user have multiple customer ids inside of my database.
Thanks!
Payment Links are not specific to a Customer record. The documentation does include examples of how you might append data to them to aid in reconciling payments to a specific individual.
If you want to make use of the Stripe hosted UI while still assigning specific Customer records then I would recommend making use of Stripe Checkout.

Stripe Embeddable pricing table - show active subscription plan

Is there any way to show active subscription plan on stripe's embeddable table, like passing customer, subscription or price id?
https://stripe.com/docs/payments/checkout/pricing-table
How on client side, where stripe pricing table is used, can be prevented for user/customer to select another (or same) plan and do any sort of action except updating current plan with upgrade or downgrade?
The pricing table product is built for first time purchases and it allows you to easily drop an iframe on your webpage that shows the different price options that you offer to your new customers. Once you have a Customer that has already made a purchase, the pricing table product is not what should be used.
Instead, separately, you can let your existing customers manage their subscriptions with the Customer Portal here which has a full Stripe redirect page. You can pass the list of Price ids when creating the portal configuration so your customers are able to upgrade or downgrade to different prices.

How can i create plugin to sell my products on other websites?

I have an eCommerce website. I want to let other websites sell my products on their website,
also, I want it to be as automatic as possible,
something like google ads - where the other website just needs to add one line of code,
how can i do that?
and how to keep track of my products (and take my money & give them their commission)?
There are at least 2 scenarios for example:
You want a rest api that could be implemented by other 3rd party sellers that could be called by them in order for you to keep track of purchases and their comissions. ( in this case the final customer will remain on 3rd party seller webpage )
If you insist on adding something like google ads on a seller webpage in that case you can play with cookies meaning:
Customer enters on seller website he will see something like an "ad" he or she will click on that ad ( image/link ) and will be redirected to your site https://yourwebsite.com/redirectedFrom=seller123
You will save that seller123 in customer cookie browser and if that customer will purchase something from your website you will know from cookie saved earlier from which seller customer was coming in order for you to assign commission and so on.
I hope that both scenarios might help. It really depends on you if you want that a customer should order something directly from other 3rd party seller or directly from your website.
To be more specific in both situations you will end up making money but both scenarios has different customer experience, on 1st scenario customer remains on seller website on 2nd one customer will be redirected to your website

Retrieve a list of supported countries from Stripe API?

I've read over Stripe's API and couldn't find a way to find if a country is supported by Stripe.
e.g: I have an user who is going to receive a payment and he is from a country, I need to check if he can use Stripe to receive this payment based on his country.
Thanks
Stripe's Country Specs API should do what you need:
https://stripe.com/docs/api#list_country_specs
Their documentation includes sample code and sample responses for multiple languages.
No such info as I know in api, but there are not so many countries they support at he moment to accept payments. https://support.stripe.com/questions/what-countries-does-stripe-support
So you can add them into a global variable to your app and update it whenever a new country will be in the list. A settings page in admin panel may be, so you can easily update the list.

How to set shipping costs for a non-US website using Paypal Website Payments Standard

I am making my first e-commerce website and it is only basic and low volume. I've used Paypal Website Payments Standard with the cart upload function to integrate with Paypal. One problem though, I cannot provide a shipping estimate until the user enters their address in Paypal and I cannot see a facility to do some kind of callback to my site for the appropriate shipping cost based on country without using Paypal Express Checkout. The shipping cost can only be specified by the cost of the items within the Merchant profile on Paypal and my customer only wants there to be one price for within NZ, one within Australia and another for all other countries.
Any tips? Or is Paypal Express the only way without obtaining address information of the user before uploading the cart to Paypal?
Express is the minimum product to get you a callback facility for shipping. Nothing similar available with Payments Standard.
Since you only have the three zones, You might solicit and present with a dropdown without requiring the full adddress... then validity check in the IPN handler to hold the order if they are in France and have selected NZ domestic.

Resources