View Issue Details

IDProjectCategoryView StatusLast Update
0006822Talermechant backendpublic2021-04-01 11:20
Reportersebasjm Assigned ToChristian Grothoff  
Status resolvedResolutionfixed 
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0006822: more info of an unpaid order
DescriptionIm working in the details of order, looking into the documentation seems like when making a request into an unpaid order doesnt bring some basic information.

How easy is to add 3 fields that we have in the OrderHistory?

      // When the order was created.
      timestamp: Timestamp;
      // The amount of money the order is for.
      amount: Amount;
      // The summary of the order.
      summary: string;

Here is the response:

    interface CheckPaymentUnpaidResponse {
      // The order was neither claimed nor paid.
      order_status: "unpaid";

      // URI that the wallet must process to complete the payment.
      taler_pay_uri: string;

      // Alternative order ID which was paid for already in the same session.
      // Only given if the same product was purchased before in the same session.
      already_paid_order_id?: string;

      // Fulfillment URL of an already paid order. Only given if under this
      // session an already paid order with a fulfillment URL exists.
      already_paid_fulfillment_url?: string;

      // Status URL, can be used as a redirect target for the browser
      // to show the order QR code / trigger the wallet.
      order_status_url: string;

      // We do we NOT return the contract terms here because they may not
      // exist in case the wallet did not yet claim them.
TagsNo tags attached.


Christian Grothoff

2021-03-30 23:32

manager   ~0017659

Sounds reasonable, should not be too hard to return. I will add this.

Christian Grothoff

2021-04-01 11:19

manager   ~0017666

API specification updated in 44cbd51..ae616b4

Christian Grothoff

2021-04-01 11:20

manager   ~0017667

Implemented in 3694bff..cc802c0.

Issue History

Date Modified Username Field Change
2021-03-29 19:11 sebasjm New Issue
2021-03-29 19:11 sebasjm Status new => assigned
2021-03-29 19:11 sebasjm Assigned To => Christian Grothoff
2021-03-30 23:32 Christian Grothoff Note Added: 0017659
2021-03-30 23:32 Christian Grothoff Priority normal => high
2021-03-30 23:32 Christian Grothoff Target Version git (master) => 0.9
2021-04-01 11:19 Christian Grothoff Note Added: 0017666
2021-04-01 11:20 Christian Grothoff Note Added: 0017667
2021-04-01 11:20 Christian Grothoff Status assigned => resolved
2021-04-01 11:20 Christian Grothoff Resolution open => fixed
2021-04-01 11:20 Christian Grothoff Fixed in Version => 0.9