I have created an account for a test project, following which I will move to a project on a larger scale that requires Square. I have not been able to add my phone number (ISD code is +91 i.e India) and I haven’t provided bank details as well.
I am using ordersApi.createOrder and paymentsApi.createPayment, these are the respective request payloads {
“order”: {
“location_id”: “L68CN62APR3B1”,
“source”: {
“name”: “MamaEatz Mobile”
},
“line_items”: [
{
“name”: “Item 1”,
“quantity”: “1”,
“base_price_money”: {
“amount”: 1000,
“currency”: “USD”
}
},
{
“name”: “Item 2”,
“quantity”: “2”,
“base_price_money”: {
“amount”: 500,
“currency”: “USD”
}
}
],
“fulfillments”: [
{
“uid”: “xxxxxxxxxxxxxxxxx”,
“type”: “PICKUP”,
“state”: “PROPOSED”,
“pickup_details”: {
“recipient”: {
“display_name”: “904202”
},
“schedule_type”: “SCHEDULED”,
“pickup_at”: “2024-10-05T13:45:19Z”
}
}
] and {
“source_id”: “[redacted]”,
“idempotency_key”: “paymentidempotency_key11”,
“amount_money”: {
“amount”: 2000,
“currency”: “USD”
},
“order_id”: “nbTADbvH7H6Qp9qc6p7Maoj17f4F”,
“cash_details”: {
“buyer_supplied_money”: {
“amount”: 2000,
“currency”: “USD”
}
}
}. Am I not seeing it on the dashboard because of not having given the required account details or is there something I need to fix in my code.
3 posts - 2 participants