I am working on an Offsite payment extension. My payment gateway supports the “PayLater” method, but this method requires information about the purchased items (line name, line price).
Is it possible to retrieve the content of the order/checkout/cart in the payment extension?
The problem is that when the first request is sent to the payment extension, the order is not yet created. I also tested that when I simply return 200 and redirect Shopify to another “internal payment URL,” the order is still not created. I also tried querying abandonedCheckouts, but without success.
I also found out this sentence in requirements “API Usage: Your payment app must not use any Shopify APIs other than the Payments Apps API.” → so it means that it is not possible ?
For example, if I want to access the order number after an order is paid (so that customers can better identify the relationship between the order and the payment), am I not allowed to do that?
It says that I can’t use any API other than the Payment Apps API, but at the same time, I know of payment apps that request read_order permission to achieve the described functionality.
Same issue. Our offsite payments app can’t pass review because it requests the read_orders scope. Without this scope, we can’t access order line items to generate proper accounting documents (itemized invoices/receipts) for merchants and remain compliant.