question

webforte avatar image
webforte asked bryanvargas edited

How we can create a dynamic Price in order

Hi

Is there any way we can add dynamic shipping price in order. like USPS prices because its not fixed.

I am using automic order API and when try to add custom line item then order price not update

https://www.clover.com/r/XEN1P7MBY4472

Please see this order when try to do payment then only 10.55 paid other are not.


ecommerce
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated edited

If a service charge does not work for your use case then you will have to use a line item to reflect the fee. The atomic order's endpoint can only be used to pay for Clover inventory items.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

webforte avatar image
webforte answered

Hi

When i am try to add new customer using ecom api. showing internal server error:
Url: https://scl.clover.com/v1/customers
https://prnt.sc/zdAZzijUUKjC

I have used 3 - 4 website but code not working.

Its working before.
Thanks

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

nathaniel avatar image
nathaniel answered bryanvargas edited

Yes, it is possible to add dynamic shipping prices to an order using the USPS API in your eCommerce platform. The process may differ depending on the platform you are using, but the general steps are as follows:


Integrate the USPS API with your eCommerce platform. You will need to obtain an API key from USPS and use it to authenticate your API requests.

Set up the shipping methods and rates for your store. You can use the USPS API to calculate shipping rates based on the weight, dimensions, and destination of each package.

Add the dynamic shipping prices to the order during the checkout process. Depending on your platform, you may need to use custom code or a plugin to add the shipping prices to the order.

Read More, If you are using the Automatic Order API and are experiencing issues with adding custom line items and updating the order price, you may need to check the API documentation and contact the API support team for assistance. It's possible that there are specific requirements or limitations for adding custom line items and updating the order price using the Automatic Order API.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community