Error during payment by credit card

29 views
Skip to first unread message

Surbhi Sharma

unread,
Jan 6, 2017, 5:03:41 AM1/6/17
to deliverydotcom API V2, tushar goswami, anurag thakur, Paul Geller
I am able to add a credit card in delivery.com - account : Surbhi...@ignitras.com
But I am unable to place order by it and see this error while placing order :

“Sorry that the credit card was declined. Please try re-entering the card details, since the expiration date or zip code may changed, or use a different card.”

Parameters :  
{
 "order_type" : "delivery",
 "location_id" : 3699696,
 "order_time" : "2017-01-06T15:27:03+05:30",
 "payments" : [
   {
     "type" : "credit_card",
     "id" : 4
   }
 ],
 "instructions" : "",
 "merchant_id" : "84013"
}

While I am able to place order as “cash on Delivery” with same API, also I am able to place order from delivery.com website using same card.

Sixuan Liu

unread,
Jan 6, 2017, 1:23:51 PM1/6/17
to deliverydotcom API V2, tus...@solutionbeyond.net, anurag...@solutionbeyond.net, pauls...@gmail.com
Hi,

It seems like the id of your credit_card is wrong in above request. If you do a GET cc request documented here, you will find your credit card id in "cc_id".

Would you please try that and see if that works?

Best,
Sixuan
Reply all
Reply to author
Forward
0 new messages