Square - send digital receipt by API - square

Is there a way to send a digital receipt to customer by API?
May be just download digital receipt template by API?

There are not currently any API calls to send digital receipts through Square. If you would like to send a receipt then you can pull the transaction data with the API and send it in an email.

I figured out a workaround for this and just posted it in the developer forum:
The receipts are hosted at https://squareup.com/receipt/preview/{{tenderId}}. To get the tenderId, after the charge request you'll receive a transaction response containing a transaction object with a tenders array.
Using the first tenders element you'll find the tender id. Use the tender id to create the receipt link.
(Optional) Pass the link through a shortener like IsGood to conserve some characters.
To send the SMS we're using Trumpia (API is unruly and inconsistent, but they do answer your phone calls and will set you up with a short code the same day). Likewise, you could email the link.
Seems to work just fine as long as the receipt preview path doesn't change, which I wouldn't suspect it would.
Hope this can help some of you.

Related

How to get recent sales from Square API?

I'm a developer and am new to Square.
We are going to enter sales into the Square app on iPads and I have to send the sales and payment information automatically and asap to NetSuite (a cloud ERP system)
I'm reading the API docs and can't see a way to run some code when a sales
order is created. Is there a way?
If the answer to 1 is no then which part of the API can I call periodically to request a list of all sales orders since the last time I asked?
Have you looked into using webhooks to be notified when a transaction takes place? Once you receive a notification from the webhook you can then call the appropriate endpoint to get the information you want to send to NetSuite.

How to obtain an Edmunds API key?

This is my first attempt to use an API. I followed the instructions for registering for an Edmunds API (http://developer.edmunds.com/).
I registered for an account, got an email from them to confirm, clicked on that link, and got a request to register my application, which I filled out.
But when I log into my account and click on "keys", all I get is the message "You don't have any keys yet".
What am I missing? Thanks in advance.
Here is the email response I got from Edmunds:
Joe,
Thank you for your interest in the Edmunds Open API Program.
Unfortunately, we are in the process of retiring our Open API Program. Therefore, we are unable to issue you an API key at this time.
Regards,
Edmunds
UPDATE
The Edmunds API has been shutdown.
I would like to also recommend this website, it contains a list of the latest car information/database APIs.
I can't remember exactly how I created mine, I believe I created my dev account and then received an api key link via email. I clicked the link and it took me to a page where I could setup my app and receive an api key. You should have received said email by now.
If that doesn't work then try emailing: api#edmunds.com
An alternative to Edmunds API would be Marketcheck Cars API
The developer portal is given here with Comprehensive API documentation
The APIs supported are
Inventory Search API
VIN History API
Dealers API
VIN Decoder API
CRM Cleanse API
and lots more APIs coming up like - Market APIs with active and historical market averages, trends, dealer sales stats, dealer ranking, deal ranking, total cost to own, car market values (like Edmunds TMV) coming up

How do I get CID (Client ID) for the Expedia Affiliate Network?

I want to use Expedia's API on my website. I have registered on EAN (Expedia Affiliate Network), and now need an API key.
Now for the API key, I need CID(Client ID), which I don't have.
How do I get through?
Now you have to fill this form and have to wait until they decide whether to give you access to their API or not.
Note: Confirmation period may be long for days and weeks.
Fill the registration for for Expedia API at BECOME AN AFFILIATE - INQUIRY FORM
It seems impossible since a few months. And accounts created before that did not convert to production are blocked.
It looks like you have to submit a manual request now: http://www.ean.com/contact-us

How do I get gateway Authcode from Shopify?

Shopify receives and stores information received from the gateway after a payment is made. It can be viewed in the orders page right at the bottom under Order History section. The words "customer successfully paid..." is a hyperlink. That information contains the authcode apart from some other credit card information. I just want the authcode. The webhook does not send this information in the xml data. Can you retrieve this through the API or is this not allowed? Thanks
Any gateway-specific info is provided through the receipt parameter on the Transactions API. If the token you're looking for isn't there, it's not available.
Thanks for your assistance. Apparently Shopify won't provide that information due to PCI compliance reasons. The payment provider that does the credit card processing will only send one response to Shopify and I was hoping I could get them to send me a response as well but that was wishful thinking on my part. The finance team will just have to log into Shopify and see that information if they need it.

Payment confirmation using Authorize.net in VB.NET

I have a single authorize.net account, and I have 5 different e-commerce applications tied to that account. Some are posting from a public site and some are posting from managed access sites. I am using SIM and I have read about the Relay Response, but as far as I can tell I can only have one URL listed. That will not work for me as I need a different URL for each different point of entry into the e-commerce system.
My problem at the moment is that I need to update a datafield via a guid upon successful payment completion to confirm purchase of a digital item, but if I put in a relay response page it is getting sent to all my access points and throwing errors. Other parts of the e-commerce system need to send different emails upon completion etc, plus all the urls are different at the top level.
Is there some other way of accomplishing this task that I am overlooking?
Use Silent Post*. It's Authorize.Net's equivalent of Paypal's IPN. It will only post to one URL per account but it happens behind the scenes. This means you can send a custom flag along with each transaction identifying which site the purchase is for and then have it respond accordingly (e.g. send emails, update database, etc).
*I am the author of this content