Fadi_K
(Fadi K)
1
Hi Guys,
I’m trying to create a subscription by using this code:
{
“allow_duplicate”: true,
“allow_tax”: true,
“auto_charge”: true,
“billing_amount”: 0,
“contact_id”: 420150,
“credit_card_id”: 0000,
“first_bill_date”: 2020-06-11,
“payment_gateway_id”: 6,
“quantity”: 1,
“sale_affiliate_id”: 0,
“subscription_plan_id”: 594
}
Once I fire this code I’m getting this error “Input could not be converted to a valid request”. Could you support please.
You need to surround your date with quotes
Fadi_K
(Fadi K)
3
Thank you for your quick turnaround.
Still getting the same error with this code
{
“allow_duplicate”: true,
“allow_tax”: true,
“auto_charge”: true,
“billing_amount”: 0,
“contact_id”: 412642,
“credit_card_id”: 0,
“first_bill_date”: “2020-05-14”,
“payment_gateway_id”: 0,
“quantity”: 1,
“sale_affiliate_id”: 0,
“subscription_plan_id”: 594
}
bradb
(Bradley Booth)
4
What endpoint are you hitting? I see your question says subscription, are you trying to create a subscription?