Extra charge

Hello everyone,

I’m working on a Shopify App, and I need some help with a specific feature. We want to create an extension that offers an extra service during the checkout process. The price and details of this service are fetched from a proprietary API.

Here’s what I need to achieve:

  1. During checkout, offer an extra service to the customer.
  2. If the customer selects the service, include the service charge in the order total.

Can anyone guide me on how to implement this functionality? Any examples or pointers to relevant documentation would be greatly appreciated.

Thank you!