After triggering the payment_session_url, how to retrieve the product information?

Hello, I’m currently encountering an issue. I am working on an Offsite payment extension. After triggering the payment session URL, users are redirected to our page for payment. However, I need the relevant product information from the order before payment. How can I obtain it? (This must happen before the user pays. I’ve checked the documentation, but the provided solutions all occur after payment.)

1 Like

Hey @user147,

Currently the scopes for payment extensions are limited so the request isn’t going to contain the product details. The information sent is outlined here.

What you could do is use checkout extensions to validate the order and product details first and only then presenting your gateway as an option. About functions in payments

Hey @user147, does the above information clarify these limitations for you?