How to distinguish transactions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to know how I can distinguish the transactions from the shops that are linked to my account?
Saying, I have a few stores on eBay, Etsy, Grailed etc. How can I filter all transactions basing on the shop?
Do I need some kind of API or I can do that via reports?
The best way I see that is to create some kind of a local web server where I will make api calls to filter transactions on every store linked to my account or to parse date from the paypal but I need the simple unique criteria on which I could distinguish all my transactions..
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why not make a variable or an array for each shop transaction's, then do something like this:
onApprove: function(data, actions) {
return actions.order.capture().then(function(details) {
// Show a success message to the buyer
$('#transmsg').html('<b>' + 'AUTHORIZED...' + '</b>');
$('#transmsg').append('<br>'+'Transaction completed by: ' + details.payer.name.given_name +' '+ details.payer.name.surname + '<br>' + "Order Id: " + details.id + '<br>' + 'Status: PAID & APPROVED' + '<br>'+ 'Thank You For Your Order'+ '<br>');
if (details.status === "COMPLETED") {
window.setTimeout(function() {}, 500)
$('#transmsg').append('<b>' + 'Sending Order...Please Wait' + '</b>'+'<br>');
<--JQiuery Form Variables used to get the Var: transId = detail.id, now either Append Store here or at the
VAR: OrderStat = the val that I gave it "Approved" -->
$('#transid').val(details.id);
$('#orderstat').val('APPROVED');
$('#orderform').submit();
}
});
Hopefully you can read what I am trying to explain
D
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Need help to integrate PayPal Standard Checkout with Adyen? in PayPal Upgrade Community
- Pending Transaction - CLearly Declined by Merchant in PayPal Payments Standard
- We're not currently set up for transactions in India. in PayPal Payments Standard
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- I need to integrate a recurring payment with a variable for a pay-as-you-go product in REST APIs