question

anayooleru avatar image
anayooleru asked david2658 answered

Clover Webhook: Identifying users when they pay through Google Pay or Apple Pay

Right now, through our webhook when there is a payment with one of our merchants, we can get the transaction id, and make a APi call to get the customers information from Clover.

Wehn credit/debit card is used to pay, we get the first6 and last4 digit, this we use to identify our customers who has setup their card info securely on our app.

But the problem is, when Apple or Google pay is used to pay, those details are not provided by these services. Can't get the first6 and last4.

Any ideas what can be done to identify users who pay with Apple or Google Pay?

OrdersREST APIPaymentse-commerce apiWebhooks
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

anayooleru avatar image
anayooleru answered

@parquet76@gmail.com please can you or anyone help me out with this issue?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

parquet76 avatar image
parquet76 answered parquet76 commented

Your implementation is not quite clear to me. You mention getting the customer details from Clover but then you talk about using the first 6, last 4, which seems unnecessary to me. The payment will have an order and you can retrieve the order using the payment id and the customers associated with that order (if there are any) via the customers expansion, look at the API reference for more info. You shouldn't have to use payment details to identify a customer unless a customer is not associated with the payment's order.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

anayooleru avatar image anayooleru commented ·
Users make payment without their information. So the order API doesn't return any customer information.
0 Likes 0 ·
parquet76 avatar image parquet76 anayooleru commented ·
Well, sounds like you are out of luck.
0 Likes 0 ·
livenom727 avatar image
livenom727 answered

I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article.토토커뮤니티

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

david2658 avatar image
david2658 answered

Hello,.

To identify users who use apple pay or Google Pay without receiving card details like the first 6 and last 4 digits, consider utilizing unique identifiers provided by these payment services for each transaction. Encourage customers to link their Apple Pay or Google Pay accounts with their user profiles in your app for direct association. Additionally explore payment method metadata or integrations with Wallet APIs to retrieve customer information associated with the payment method. Implementing these strategies will help identify users who make payments using Apple Pay or Google Pay, enhancing user recognition and transaction tracking within your system.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community