Sending Email receipt from Authorize.net transaction on my website - swiftmailer

I am using Authorize.net AIM on my website to accept donations/payments. Authorize.net automatically sends an email receipt to the customer once they have made the purchase, but I wish to disable this and send an email using my own email receipt template (in .html).
Previously I have sent emails using this format after I have inserted a username and email address into mySQL from a form on my website - it worked great.
I now wish to do this same thing, but instead of inserting information into a database, using the information from their donation (amount, email address, confirmation) to send them an email.
I was using Swift to send the emails. This worked great.
How would I use php to do the same thing but with the information from my authorize.net coding?

You could use Authorize.net's API and SDK and call the GetTransactionDetailsRequest with the transId and pipe the results to your customer's email with your own custom HTML email template.

Related

Passing custom data to Stripe email receipt

I'm using Stripe's Payment Intents API (via a Payment Element) to accept payments on a site and automatically send email receipts on successful payment. I now need to send the product (a digital code) to the user inside of the receipt email, but the closest solution I've found to do this is using the description parameter of the Payment Intent object.
Unfortunately, Stripe displays the description as part of the order summary with a redundant item price right next to it:
This doesn't does look the best and I'd prefer to be able to pass in a separate section of the email, such as above the order summary.
Is there a more natural way this can be done with Stripe's email receipts?
When passing custom data to Stripe email receipt, the solution you found (e.g. to pass that data via the description parameter) is the only option on the automatic email receipts. Alternatively, you can listen to payment_intent.succeeded webhook event and handle emails from your end.

Send Mailchimp Campaign to Single Email Address

I'm creating custom emails (many customizations) in MailChimp campaign builder. Looks like the only option to send is via a campaign, which I'd need to manually upload a list of email addresses. I honestly just want to use the builder to send a quality form email, that I customize for each recipient.
Is it possible to send an email to a specific email address without building a list, etc? This will probably be a one-time thing.
You can send campaign to single email address in mailchimp through this method. However you can't send the same campaign more than once to same email address.
create an automation email with API 3.0 as trigger.
Now, to send a campaign, make POST call to the given url with email address in your mailchimp
https://us19.api.mailchimp.com/3.0/automations/********/emails/********/queue
Now, To call that api you need to add HTTP BAsic Auth or OAuth 2 to API Request. See this answer MailChimp 3.0 HTTP POST Json Example
There's also a npm module to make life easier https://npmjs.com/package/mailchimp-api-v3
This is just a workaround as mailchimp was not built for single emails. In the longer run I'd suggest you to look into mandrill, sendgrid or other transactional email tool.
You are better off using Mandrill, MailChimp's transactional email app, to send one off emails. You can still use or at least make use of MailChimp campaigns but you can send one off emails that are customised and you do not need to send to a list

How to enable email to customer with LicenseCloud

How do you enable sending license key by email when using the Custom IPNs?
When i setup paypal IPN it says it will send an email with the license key. but then it says No under the Email Cust. column. I did a test purchase to see if it would send an email and it did NOT send anything.
How do I enable this and is the email editable?
Just found this question after asking how to get email working. Never got email working but did find a solution if willing to use a third party service:
Licensecloud Auto Email of Key Not Working

Sending receipts - PHP library for V2 API

I use the square-connect v2 PHP library to process credit card transactions from our website. Transactions are processed (appear in our account and the customer's statement), but no receipt is sent to the card-holder. I submit the customer email address with the transaction, and in my test cases Square already has an email address on file for the card. Suggestions?
Square's e-commerce API does not automatically send receipts like checking out with Square with an in-person payment. I'd suggest sending your own receipt to your customers.

Customer not receiving the place order and form submission mail with details (Magento)

I'm trying to configure email in my magento website. My website is https://tumree.com. I just enabled contacts in system->configuration.
Send Emails To : admin#tumree.com and Email Sender: Custom Email 2.
In store email adress, In Custom email 2, sender name: Tumree admin and sender email:admin#tumree.com
When I'm trying to fill out the forms and submit, the msg "Form is submitted successfully". The account admin#tumree.com receives the email with customer name,email,number,comment.
But the customer who is filled out the form with name,email etc., not receiving the mail.
I enabled in the mail settings for return-path-> yes. But I dint reflect anything. when the order is placed, the customer not receiving the mail too with order details. Pls help me here....enter link description here
To send emails out of your server, you probably need to do it with smtp . Your server sends emails ("Form is submitted successfully")but they are rejected from the target server. Try it with https://www.magentocommerce.com/magento-connect/smtp-pro-email-free-custom-smtp-email.html or something related.

Resources