#Vardan

1 messages · Page 1 of 1 (latest)

mild nebulaBOT
civic crescent
#

Example of metadata

Cruise: Boat group name
Cruise: Boat name
Cruise: Date
Cruise: Time from
Cruise: Time To
Cruise: Number of seats
Customer: Email
Customer: Name
Customer: Phone
Transaction: Cruise_price
Transaction: Promotion: [name]
Transaction: Booking_fee: [amount]
Transaction: Addon1: [name]
Transaction: Addon2: [name]
Transaction: Cancellation cost
Transaction: Tips: [amount]
Transaction: Subtotal
Transaction: [Tax name] [amount]
Transaction: Total

#

But as we see, Stripe sorting fields from A-Z

versed spruce
#

hi! I don't think we make any guarantees about how we return fields, you shouldn't write code that requires a particular order.

civic crescent
#

So can be any solution here? We would like to keep structure as I've sent

versed spruce
#

you can't change this behaviour of our API no

#

I'd recommend not requiring an order. It's a key-value store/hash-table, not a list