Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephendonner/2ddb41ee00a2a0592e0bf15bba99c751 to your computer and use it in GitHub Desktop.
Save stephendonner/2ddb41ee00a2a0592e0bf15bba99c751 to your computer and use it in GitHub Desktop.
12:47:16.115 Feature Policy: Skipping unsupported feature name “payment”. v3:1:43140
12:47:16.115 Feature Policy: Skipping unsupported feature name “payment”. v3:1:43278
12:47:18.017 Feature Policy: Skipping unsupported feature name “payment”. v3:1:42402
12:47:19.432 DEBUG brave-rewards/src/sdk/mod.rs:58 rewards sdk initialized; environment development, version 42856d9-modified vendor-283653f6.js:1:16857
12:47:19.659 <Routes> received an unexpected slot "default". vendor-283653f6.js:1:9516
12:47:20.263 DEBUG brave-rewards/src/http.rs:66 http.Request >>> Parts {
method: GET,
uri: https://payment.rewards.brave.software/v1/orders/1d0a263c-e0fa-44d5-89ed-a22e05e14558,
version: HTTP/1.1,
headers: {},
} null vendor-283653f6.js:1:16857
12:47:20.910 DEBUG brave-rewards/src/http.rs:77 http.Response <<< Parts {
status: 200,
version: HTTP/1.1,
headers: {
"content-length": "971",
"content-type": "application/json",
},
} {
"allowedPaymentMethods": [
"stripe"
],
"createdAt": "2021-07-14T20:57:47.416306Z",
"currency": "USD",
"id": "1d0a263c-e0fa-44d5-89ed-a22e05e14558",
"items": [
{
"createdAt": "2021-07-14T20:57:47.416306Z",
"credentialType": "single-use",
"currency": "USD",
"description": "Premium access to Brave Talk",
"id": "44d3647b-72c0-48cd-af0b-35d5f08d1511",
"location": "talk.brave.software",
"metadata": {
"stripe_cancel_uri": "https://account.brave.software/plans/?intent=checkout",
"stripe_item_id": "price_1J84oMHof20bphG6NBAT2vor",
"stripe_product_id": "prod_Jlc224hFvAMvEp",
"stripe_success_uri": "https://account.brave.software/account/?intent=provision"
},
"orderId": "1d0a263c-e0fa-44d5-89ed-a22e05e14558",
"price": "7",
"quantity": 1,
"sku": "brave-talk-premium",
"subtotal": "7",
"updatedAt": "2021-07-14T20:57:47.416306Z"
}
],
"location": "talk.brave.software",
"merchantId": "brave.com",
"metadata": {
"stripeSubscriptionId": "sub_JqxWQ4paAa53gX"
},
"status": "paid",
"totalPrice": "7",
"updatedAt": "2021-07-14T21:26:36.84988Z"
} vendor-283653f6.js:1:16857
12:47:20.911 DEBUG brave-rewards/src/storage/kv.rs:61 KVState {
wallet: None,
promotions: None,
orders: Some(
{
"1d0a263c-e0fa-44d5-89ed-a22e05e14558": Order {
id: "1d0a263c-e0fa-44d5-89ed-a22e05e14558",
created_at: 2021-07-14T20:57:47.416306,
currency: "USD",
updated_at: 2021-07-14T21:26:36.849880,
total_price: 7.0,
location: "talk.brave.software",
merchant_id: "brave.com",
status: "paid",
items: [
OrderItem {
id: "44d3647b-72c0-48cd-af0b-35d5f08d1511",
order_id: "1d0a263c-e0fa-44d5-89ed-a22e05e14558",
sku: "brave-talk-premium",
created_at: 2021-07-14T20:57:47.416306,
updated_at: 2021-07-14T20:57:47.416306,
currency: "USD",
quantity: 1,
price: 7.0,
subtotal: 7.0,
location: "talk.brave.software",
description: "Premium access to Brave Talk",
credential_type: "single-use",
},
],
metadata: Some(
OrderMetadata {
stripe_checkout_session_id: None,
},
),
},
"8bd9d7da-2ce7-4fc4-8574-c1150ffc2312": Order {
id: "8bd9d7da-2ce7-4fc4-8574-c1150ffc2312",
created_at: 2021-07-28T19:45:37.061957,
currency: "USD",
updated_at: 2021-07-28T19:45:37.610212,
total_price: 7.0,
location: "talk.brave.software",
merchant_id: "brave.com",
status: "pending",
items: [
OrderItem {
id: "73f0c9e0-8f70-44ee-960f-177182fb0d79",
order_id: "8bd9d7da-2ce7-4fc4-8574-c1150ffc2312",
sku: "brave-talk-premium",
created_at: 2021-07-28T19:45:37.061957,
updated_at: 2021-07-28T19:45:37.061957,
currency: "USD",
quantity: 1,
price: 7.0,
subtotal: 7.0,
location: "talk.brave.software",
description: "Premium access to Brave Talk",
credential_type: "single-use",
},
],
metadata: Some(
OrderMetadata {
stripe_checkout_session_id: Some(
"cs_test_b1LxMDJRLcCXJ5CNM7ORKywzkh03tWtXVrcp8rg9T4Y388oMW14ebFGJPA",
),
},
),
},
},
),
credentials: Some(
CredentialsState {
items: {
"44d3647b-72c0-48cd-af0b-35d5f08d1511": SingleUse(
SingleUseCredentials {
item_id: "44d3647b-72c0-48cd-af0b-35d5f08d1511",
creds: [
Token {
t: TokenPreimage: [150, 110, 77, 175, 131, 109, 201, 156, 2, 67, 232, 7, 71, 119, 47, 249, 214, 223, 133, 176, 147, 240, 225, 248, 129, 60, 234, 106, 78, 143, 99, 129, 222, 135, 215, 193, 235, 110, 38, 181, 48, 233, 44, 77, 72, 211, 36, 3, 39, 135, 37, 105, 32, 100, 150, 208, 176, 107, 239, 37, 34, 133, 3, 26],
r: Scalar{
bytes: [222, 234, 245, 83, 109, 119, 24, 91, 135, 213, 232, 194, 166, 251, 89, 173, 59, 220, 130, 93, 209, 54, 125, 126, 35, 218, 66, 167, 35, 238, 124, 2],
},
},
],
unblinded_creds: Some(
[
SingleUseCredential {
unblinded_cred: UnblindedToken {
t: TokenPreimage: [150, 110, 77, 175, 131, 109, 201, 156, 2, 67, 232, 7, 71, 119, 47, 249, 214, 223, 133, 176, 147, 240, 225, 248, 129, 60, 234, 106, 78, 143, 99, 129, 222, 135, 215, 193, 235, 110, 38, 181, 48, 233, 44, 77, 72, 211, 36, 3, 39, 135, 37, 105, 32, 100, 150, 208, 176, 107, 239, 37, 34, 133, 3, 26],
W: CompressedRistretto: [244, 21, 150, 36, 84, 90, 41, 20, 2, 227, 171, 242, 9, 83, 91, 121, 97, 85, 160, 69, 27, 183, 13, 73, 131, 70, 195, 202, 219, 103, 246, 90],
},
spent: true,
},
],
),
issuer_id: Some(
"ce04f726-f439-4d4f-96c7-07ad1462a694",
),
},
),
},
},
),
} vendor-283653f6.js:1:16857
12:47:25.815 The resource at “https://account.brave.software/images/brave-icons.svg” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. account.brave.software
12:47:28.017 The resource at “https://account.brave.software/_app/pages/__layout.svelte-63ac21f1.js” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. account.brave.software
12:47:28.017 The resource at “https://account.brave.software/_app/chunks/vendor-283653f6.js” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. account.brave.software
12:47:28.017 The resource at “https://account.brave.software/_app/chunks/__layout-c9e1c523.js” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. account.brave.software
12:47:28.017 The resource at “https://account.brave.software/_app/error.svelte-69e8c3d2.js” preloaded with link preload was not used within a few seconds. Make sure all attributes of the preload tag are set correctly. account.brave.software
12:47:42.576 Source map error: Error: request failed with status 401
Resource URL: https://account.brave.software/_app/chunks/vendor-283653f6.js
Source Map URL: vendor-283653f6.js.map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment