Skip to content

[Bug Report: API Field Missing] Custom Payment Provider - Support all Primary Fields #268

Description

@i-am-rad

🐛 Describe the Bug

Doing some testing on the custom payment providers and they are not passing all fields. I tried sending company/organization name and it does not show up in the payload sent to my iframe:

{
"type": "payment_initiate_props",
"publishableKey": "pk_",
"amount": 1,
"currency": "usd",
"mode": "payment",
"productDetails": [
{}
],
"name": "",
"description": "",
"image": "",
"contact": {
"id": "123",
"name": "test name",
"email": "myemail@gmail.com",
"contact": "+18887771234",
"shippingAddress": {
"city": "city, fl",
"state": "FL",
"country": "US",
"zipCode": "34102",
"line1": "123 abc"
}
},
"orderId": "123",
"invoiceId": "",
"transactionId": "123",
"locationId": "123",
"language": "en-US"
}

📍 API Endpoint

Payments

✅ Expected Behavior

Return all primary fields data submitted on order form to the payment gateway.

💻 Screenshots or Code Samples

No response

Product Area

payments

📋 Use Case

bug

🚨 Why Should This Be Prioritized?

bug

🧠 Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-missing-api-fieldSomething isn't working in the Highlevel API or fields are missing in the API Endpoints.paymentsprocessed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions