Hello @Jici
I have some problems that I hope you can give me advice
the goal is I need to update amount ( number ) to API post ( xendit api create invoice url :Xendit API Reference )
I have successfull call the API and here my json setup.
What I see, and that may be the problem, is tha the line item (1x100000) doesn’t match the order amount (200000). You don’t have any error? any message from API response? (you can look into the browser console too). What if you do the same request in postman?
Hello @Jici thank for the replay.
I think on the API, items qty and items total only for the checkout page preview, they not do anything else ( make total order calculation from item qty x price )
Here I try again make some request where the amount number is showed ( 22000)
When you don’t select allow blank, and leave a value in API Connector, this value is used to all call if there’s nothing to replace it (example: search return nothing). If you want to avoid this behavior, you need to select allow blank. However, a lot of API tht receive JSON will not accept a blank value (in most case, they will accept null… not in doubles quotes). So if the API call in Bubble return the value set in API COnnector and not the one expected from the search, check your search request that probably return nothing.
I’ve been struggling with this nonsense error “grant_type” parameter missing. It’s solved by switching body type from Json to Form-data
That solved it for me