Capture payment on fulfilment in shopify - shopify

How do I make Shopify capture payment once an order is marked as fulfilled?
The only prefedined settings seems to be to capture instantly, or no auto capture at all.

When you set your store to authorize a payment but not capture payment, Shopify will then present you with a capture payment button when you examine the order. So if you fulfill the order and you know you want to capture payment, press the button.

Related

Add additional charge to PayPal payment button

We have attached a PayPal $4 button in our web application. Now we are planning to add addition charge based on location. So What is the best possibility of add the additional charge to the PayPal check out ? Can I add additional charge to fixed PayPal payment button ?
The answer depends on the type of PayPal button/integration you are using.
If it is a PayPal button rendered using the JS SDK, then you can add an onShippingChange function that calculates a new total based on the selected address.
If it is one of the old "Buy Now" or "Add to Cart" HTML form yellow pill buttons, you can create a shipping profile in the PayPal account.
For other integration types, the web system/cart software communicating with PayPal will need to calculate and change the total after the address is determined.

Shopify Buy Button currency wrong at checkout

I'm trying to get a particular currency to work using Shopify Buy Button.
cart.text.currency works to change the amount to the currency I want, and the checkout etc works fine - amounts are correct. But when I add to cart or indeed go directly to checkout, the prices are in the main currency again.
Is there any directive I can add to the component options to tell Shopify that I want to use the other currency in the checkout? If I visit the store while in Shopify using VPN for that country I am able to checkout in the right currency.

Integrating Payment gateways in sales funnel Vue js

I want to add upsells to my web application after checkout page. I'm using Vue js and PayPal is my payment integration that I'm using. I want to be able add yes or no button to upsell page and they are able to purchase using one click or deny to make purchase. At each step if they click yes it will be added to their purchase. And at the end they will see their items that they have purchased. How do I implement that in web app? Or any information that would be very helpful.
Thank you in advance!

Shopify preview notification other than order 9999

I am editing a client's email template for the Shipping confirmation notification.
Is there a way to preview a real order (not order 9999) when editing this template (or notification templates in general)?
Unfortunately, no.
I generally use a test order assigned to my email and trigger notifications from the order itself:
Resend email button in the order timeline to trigger Order confirmation email
Fulfil orders to trigger Shipping confirmation email
Cancel fulfilment to trigger Shipping update email
This is the only way you can test data related stuff like content that changes based on line item properties, customer tags, shipping option, etc.

How to pre-fill select shipping method dropdown on step2 of shopify checkout page?

I guess the title pretty much explains what I want to do.
The thing is we have to provide some options based on the shipping method, so we developed a custom app for that,and provided the options on the checkout page.(Screenshot below)
Now when the user clicks on checkout and goes to the Shopify checkout page, he has to select the shipping method again on step 2 of the checkout page.
So is there a way to prefill the selected shipping method based on the selection made by user??
You cannot program checkout with your own code. So the short answer is probably not.
I ran into this exact issue. Our shop offers free local delivery, or FedEx shipping. If the user selects FedEx shipping on the cart page, "free local delivery" was selected by default on the Shopify checkout page.
I worked around this by creating a bogus product in Shopify called "free delivery". I then used the Shopify cart API to add this item to the user's cart if the user selected local delivery. I set the weight on the "free delivery" product to 1000 lbs. I then set up the "free local delivery" shipping method to be valid for 1000 - 9999 lbs. Regular FedEx delivery is valid for orders up to 999 lbs.
It's a gross hack, but seems to work. The user is still presented with the shipping method drop down on checkout, but only the correct option is available based on the delivery method chosen on the cart page.
Shopify Ajax API (for adding item to cart):
http://docs.shopify.com/support/your-website/themes/can-i-use-ajax-api
Note: I also had to go through some javascript contortions to add a new "updates[]" form field to the cart page when adding the bogus free shipping item to the cart. Without this field, Shopify complained of receiving the wrong number of quantity updates when submitting the cart form.