Square Connect API Does Not Populate the customer_id On Any Tender Objects - square

I'm trying to find the attached Customer to a Transaction; and Square is not populating the customer_id on any Tender objects.
If I simply do a ListTransactions, and list all Tenders, none of them have any customer_id. However, I CAN simply browse the transactions in the Dashboard in the web browser, and they all have an attached customer.
I have made payments with the mobile Android App, and I add the customer to the sale before checkout ... And that transaction appears in the Dashboard and the customer IS attached! But the API does not return the customer!
Any help?
I can simply exhibit this in Postman ... Just list transactions, and none have any Tender with the customer_id ...But ALL of then DO have the customer attached in the Dashboard!
And the same is true when I use the C# Api: all Tender objects have no CustomerId.
PS: customer management IS also enabled on the mobile app ...

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.

Copy shopify products, customers and orders using api

I have to clone shopify products, customers and orders from one store to another using API. I am able to do this successfully for products and customers. For creating relationship between source and destinatio store products I have used handlers.
Customers are linked based on customer email.
But order feed has customer and product Id of source store. My new store has own product Id and i don't know how to relate new products. Also I need to check if this order has been imported or not. I am not able to find anything with which I can work.
Because token, cart token, checkout token and order number changed for each store. Can someone help me in resolving this.
Thanks

How do I use shopify to sell third party product which need to be shown in the customers account page

Some of the products we sell in our Shopify shop are third party downloads, which we resell.
So when a customer buys such a product in our shop, it activate a webhook once the order is paid. This webhook then order the product from the third party. This third party gives us a download link which we then email to the customer.
This works fine, but we would also like to show the download link at the customers account page, so they can log in, and then re-download any file they have previously bought. And here is the problem: How do we store the download links for each product, in a way we can show at the users account page?
The obvious solution would be to store the unique download link in the orders line_item but that is not supported by shopify(How do I update properties on a shopify line_item).
I'd use a meta field on the order. You could create a set of metafields from the order webhook to handle all the download links and then modify your theme to show them.

How to get custom fields like Invoice number to show on Paypal receipts

We are using PayPal website payment pro and we can send money live and all is well.
Our issues are:
when we view the recent payment, it should say "payment from John Smith"...but ours just say "payment from". the name of the person does not show up. well our accounting section wants it back. :-) not sure why its not or which parameter of the DoDirectPayment request I need for this.
The user submission form has an invoice number field. I also need the invoice number to show on the details page of the PayPal payment receipt. I was able to get stuff like shipping address to show up by using its parameter, but no idea to have Invoice Number show up.
I know it can be done because the old website had these and they used website payments pro API to send payments. I just am not sure of how to do this. thee is no mention of this in the API references that I see, especially for DoDirectPayments method. Any help appreciated
Norman

Dwolla Custom Payment Buttons: Where does the data go?

I'm currently integrating a Dwolla payment method hack on a Shopify store using a Dwolla button. The explanation of the hack is posted on the Shopify forums here:
http://ecommerce.shopify.com/c/shopify-discussion/t/has-shopify-and-you-abandoned-dwolla-133714
(The hack is being used because Shopify doesn't currently support a viable Dwolla gateway option)
I finally did a live test in both guest checkout mode and checked out with an account signed in to Dwolla.
I don't see any of the transaction details when viewing the payment in my Dwolla account(the detail field is empty) despite having included the following button parameters:
data-amount
data-shipping
data-tax
data-name (populated with the Shopify order #)
data-desc (populated with the Shopify Customer Name from Checkout)
data-orderid (populated with the Shopify order #)
data-notes (populated with the customer's checkout note from the Shopify checkout)
data-guest-checkout (true)
I had incorrectly assumed that data-name, data-desc, and/or data-orderid would populate information in the Dwolla transaction information in my Dwolla account's Payment Activity under Options:Details for the transaction.
My question is this: What happens to the data-name, data-desc, data-orderid information?
Is it retrievable on the Dwolla side?
Is there some way to populate the transaction details with any of the above identifiers?
Clarification: When the customer arrives on the Dwolla secure payment page the identifiers do populate the fields properly. My concern is that as the merchant, when I view the transaction in my business Dwolla account, there is no information that links the transaction to the Shopify order by either the order# or a matching customer name (if the name entered in the Dwolla payment process was different than the name entered in the Shopify checkout process).
The only field that is viewable in the Transaction Details page of Dwolla.com is the data-notes. So, if you'd like to be able to correlate transactions, I would suggest adding the Shopify order ID to the data-notes. The data-orderId field is viewable in the Transactions/ById() API call.
The data-name and data-desc, as you've already discovered, are only used at the time of checkout to list the products purchased.