ahivert / tgtg-python

Unofficial client for TooGoodToGo API
GNU General Public License v3.0
372 stars 70 forks source link

How can I pay for an order manually? #301

Open TOminerTV opened 4 months ago

TOminerTV commented 4 months ago

First of all, thank you for this great API.

I tried the code snippet "create an order",

order = client.create_order(item_id, number_of_items_to_order)
print(order)

but I don't see a payment option when I manually check in the app.

Have I done something wrong or is it not possible to pay manually?

phiob commented 4 months ago

Orders made through the API are not shown in the app until payment is complete. You need to implement the payment API calls yourself like described in issue #215