cancel
Showing results for 
Search instead for 
Did you mean: 

Paypal checkout - user says he did only one transaction

Contributor

Paypal checkout - user says he did only one transaction

Hi,

 

I would like to ask regarding the success returned data as below.

User claimed that he did only one transaction, but from the data returned, I can see the PAYID is different.

I'm not familiar with paypal checkout returned data, just wondering is this a bug [which paypal really fire twice, and charged member twice] or user's the one did the transaction twice ? I don't think my program is the problem as this is fired from paypal right? 

Both transaction are 7 minutes difference.

Thanks in advance.

 

First transaction

{
"id": "PAYID-<removed>",
"intent": "sale",
"state": "approved",
"cart": "57G70805KC3195643",
"payer": {
"payment_method": "paypal",
"status": "UNVERIFIED",
"payer_info": {
"email": "xx,
"first_name": "CHEW YIN",
"last_name": "<removed>",
"payer_id": "<removed>",
"shipping_address": {
"recipient_name": "CHEW YIN <removed>"
},
"phone": "<removed>",
"country_code": "MY"
}
},
"transactions": [
{
"amount": {
"total": "272.00",
"currency": "USD",
"details": {
"subtotal": "272.00",
"shipping": "0.00",
"insurance": "0.00",
"handling_fee": "0.00",
"shipping_discount": "0.00"
}
},
"payee": {
"merchant_id": "<removed>",
"email": "yyy"
},
"soft_descriptor": "PAYPAL *THINK VALUE",
"item_list": {
"shipping_address": {
"recipient_name": "CHEW YIN <removed>"
}
},
"related_resources": [
{
"sale": {
"id": "2WH62316VE855673B",
"state": "completed",
"amount": {
"total": "272.00",
"currency": "USD",
"details": {
"subtotal": "272.00",
"shipping": "0.00",
"insurance": "0.00",
"handling_fee": "0.00",
"shipping_discount": "0.00"
}
},
"payment_mode": "INSTANT_TRANSFER",
"protection_eligibility": "ELIGIBLE",
"protection_eligibility_type": "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE",
"transaction_fee": {
"value": "12.27",
"currency": "USD"
},
"receivable_amount": {
"value": "272.00",
"currency": "USD"
},
"exchange_rate": "0.232569349046827",
"parent_payment": "PAYID-LTJJ4EA687432918N346873M",
"create_time": "2019-05-08T09:15:11Z",
"update_time": "2019-05-08T09:15:11Z",
"links": [
{
"href": "https://api.paypal.com/v1/payments/sale/2WH62316VE855673B",
"rel": "self",
"method": "GET"
},
{
"href": "
https://api.paypal.com/v1/payments/sale/2WH62316VE855673B/refund",
"rel": "refund",
"method": "POST"
},
...
https://api.paypal.com/v1/payments/payment/PAYID-LTJJ4EA687432918N346873M",
"rel": "parent_payment",
"...












https://api.paypal.com/v1/payments/payment/PAYID-LTJJ4EA687432918N346873M",
"rel": "self",
"method": "...


 

Second transaction

{
"id": "PAYID-<removed>",
"intent": "sale",
"state": "approved",
"cart": "77504562VP893890N",
"payer": {
"payment_method": "paypal",
"status": "UNVERIFIED",
"payer_info": {
"email": "xx",
"first_name": "CHEW YIN",
"last_name": "<removed>",
"payer_id": "<removed>",
"shipping_address": {
"recipient_name": "CHEW YIN <removed>"
},
"phone": "<removed>",
"country_code": "MY"
}
},
"transactions": [
{
"amount": {
"total": "272.00",
"currency": "USD",
"details": {
"subtotal": "272.00",
"shipping": "0.00",
"insurance": "0.00",
"handling_fee": "0.00",
"shipping_discount": "0.00"
}
},
"payee": {
"merchant_id": "<removed>",
"email": "yy"
},
"soft_descriptor": "PAYPAL *THINK VALUE",
"item_list": {
"shipping_address": {
"recipient_name": "CHEW YIN <removed>"
}
},
"related_resources": [
{
"sale": {
"id": "0B386392WW3079709",
"state": "completed",
"amount": {
"total": "272.00",
"currency": "USD",
"details": {
"subtotal": "272.00",
"shipping": "0.00",
"insurance": "0.00",
"handling_fee": "0.00",
"shipping_discount": "0.00"
}
},
"payment_mode": "INSTANT_TRANSFER",
"protection_eligibility": "ELIGIBLE",
"protection_eligibility_type": "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE",
"transaction_fee": {
"value": "12.27",
"currency": "USD"
},
"parent_payment": "PAYID-LTJJWUA1CB90355BW808611Y",
"create_time": "2019-05-08T09:07:57Z",
"update_time": "2019-05-08T09:07:57Z",
"links": [
{
"href": "https://api.paypal.com/v1/payments/sale/0B386392WW3079709",
"rel": "self",
"method": "GET"
},
{
"href": "
https://api.paypal.com/v1/payments/sale/0B386392WW3079709/refund",
"rel": "refund",
"method": "POST"
},
...
https://api.paypal.com/v1/payments/payment/PAYID-LTJJWUA1CB90355BW808611Y",
"rel": "parent_payment",
"...












https://api.paypal.com/v1/payments/payment/PAYID-LTJJWUA1CB90355BW808611Y",
"rel": "self",
"method": "...