# Payments solutions

You have two ways to handle payments.

[**Drop-in payments**](/commerce-api/payments/payments-solutions/drop-in.md)

Drop-in payments is a turnkey integration that allows you to update payment methods in your store's checkout experience dynamically. The integration uses the DigitalRiver.js library and has a standardized template that can be customized with minimal design work.&#x20;

[**DigitalRiver.js with Elements**](/commerce-api/payments/payments-solutions/digitalriver.js.md)

DigitalRiver.js is Digital River's javascript payments library, which enables you to build custom checkout flows, capture card details in a PCI-compliant manner, and interact with our Payments API.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/commerce-api/payments/payments-solutions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
