Send sales order confirmation only to shipping contact (not billing contact) in Odoo SA - odoo

I'm using Odoo SA (SaaS version). Currently when a sales order is confirmed, it sends an email to the shipping contact as well as the billing contact. My billing contacts really only care about receiving the invoices. How can I stop the email from going to the billing contact, unless the billing and shipping happens to be the same.
Where would I start?
Thanks!

Hello To solve this issue follow the following steps
Step: 1 Active the developer mode
TO active the developer mode in odoo v10 you go to the setting ->
Active Developer mode as shown in fig below.
Step 2: Config setting
TO stop the email notification go to the Sale -> Sales -> Customer
-> Sales & invoice as shown in below image.

Related

How to verify that guest email is already exist as customer in system on checkout page in Shopify

We need to add feature in Shopify that guest/customer can't purchase the product more then limit defined in product meta field in CMS.
Basically, we have limited edition of product so want that single person [email verification] can purchase 1-2 quantity in life time.
For this we tried following ways:
Webhook: But not able to find solution to show error on checkout page and stop order if we found such condition.
Custom code on template itself: But we are not able to verify email from CMS that its already attached to a customer otherwise we will get all orders of that customers and then products and matched with current cart product and show error message
Don't allow guest checkouts. Force your customers to login with an email. Them you can be certain of not allowing them to checkout with more than the one or two of these products in their lifetime. Otherwise, accept their order and simply cancel/refund the cheaters.

DPRP is disabled for this merchan & how to create recurring account

Paypal DPRP is disabled for this merchant, i am working with paypal pro using sandbox so far it is working fine with the one time payment but when i change it to recurring,it gives an error of DPRP is disabled for this merchant
any idea how can create recurring payment account in paypal
you need to contact PayPal technical support they could add it for you as it's not added by default. Go to paypal.com/mts,
click --> https://www.paypal-techsupport.com/app/ask/session/L3RpbWUvMTQ3MTYxNzg4NC9zaWQvTHdhb3N0WW0%3D
Ask for recurring Payments for Direct Credit Card processing.

PayPal Invoice API Invoice does not look like Preview

I've been testing Paypal Invoicing API and have successfully sent invoices in the Sandbox through CreateAndSendInvoice from a sandbox business account to a sandbox client account. However the mailed Invoice always appears in text without any button to process the payment through Paypal. So I then went into the sandbox business again and created an invoice and sent to the sandbox client account. The mailed Invoice was also plain text that looked nothing like the preview. How can I send in Sandbox a PayPAl Invoice that looks like the Invoice Preview? How can I send an invoice through the PayPal Invoice API that looks like the preview? Currently the sample text invoice I get looks like this
----------------------------------------------------------------------
You've received an invoice
----------------------------------------------------------------------
Hello Client User
Test Store sent you an invoice for $1.10 USD.
View and Pay Invoice
https://www.sandbox.paypal.com/us/cgi_bin/webscr?cmd=_pay-inv&id=INV2-A5ZC-BGK5-JRR5-E58V
----------------------------------------------------------------------
Summary of this invoice
----------------------------------------------------------------------
Sent to: Client USer
client.user#gmail.com
Sent from: Test Store
teststore-facilitator#gmail.com
Invoice number: 0003
Date payment is due: Mar 7, 2014
Amount: $1.10 USD
----------------------------------------------------------------------
Help Center:
https://www.sandbox.paypal.com/us/cgi-bin/helpweb?cmd=_help
Security Center:
https://www.sandbox.paypal.com/us/security
Please don't reply to this email. It'll just confuse the computer that sent it and you won't get a response.
Copyright © 2014 PayPal, Inc. All rights reserved. PayPal is located at 2211 N. First St., San Jose, CA 95131.
PayPal Email ID PP1557
Since you're working with sandbox accounts, it sounds like you must be seeing these emails from the Notifications tab where emails are sent to sandbox accounts..??
I'm pretty sure what you're running into is that the email client used there is limited and actually does see nothing but the text version of those invoices that get sent. If you were to see that same invoice in a better email client it would probably look just fine.
I would recommend logging into the sandbox account of the invoice receiver, and make sure it shows up there in the history like it's supposed to. If it does then it sounds everything worked and would work as expected when you go live and start getting those emails to real email clients.
You could run a final test on the live server and send yourself an invoice to an email account you have (not attached to your PayPal account) for 1.00 or something like that. Then you can see what it actually looks like in your true client.

Paypal Express Checkout for Payflow Pro, Shipping and Tax update

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.

Google checkout invoice through API

I am trying to find a way of sending email invoice via google checkout's API (and also in PayPal)
I can't find how. or at least how to generate a new order (money request)
thank you
From: http://code.google.com/apis/checkout/developer/Google_Checkout_Comparison_Part_I.html
Requesting Payment by Email Invoices
What is it? Email invoicing lets you sell without an online store. Buyers can place orders from you by phone, fax, email or other offline means; then you send email invoices from the Merchant Center to the buyers requesting payment. Email invoices contain a personalized message from you regarding the requested payment as well as a "Pay now through Google Checkout" link. When buyers click this link, they are brought to Google Checkout where they can complete the payment process.
Best for: Use this option if you don't have or need an online store.
Time required: There's no setup — just open a Google Checkout merchant account and you can immediately start sending invoices.
Technical skills required: None. Just Internet access.
Demo: Email Invoice and Wizard (requires sign-up)
Processing Orders: (Part II) Once orders start coming in, use the Merchant Center to charge orders and update order status.
Next Step: How to request payments by email invoices
From what I've seen, looks like they don't have a way to do this through an API. Hopefully someday they will, but for now I think I'll have to create my own email with a link to my own page that sends them to google checkout via a custom Buy It Now button.
It's too bad - it'd be so simple to just be able to call send_email(name, email, amount, message) and have it be the same as logging in & doing it through the Merchant Center.
I do understand the rationale a little - if you're capable of creating an automated invoicing system that can call a google API to send emails, then you should also be capable of creating a link, custom button, and letting the user checkout that way. I still want it though - I'm lazy.
Can you submit the form data in the way that the google checkout portal does? then it would authenticate and autofill the form?