eBay Token Status

Token Structure Explanation

Current Implementation: User tokens should be stored as rows with:

This is the correct way for the system to work - each user token should have its refresh token stored in the same row.

2025-12-26 02:37:20: Database connection attempt made
2025-12-26 02:37:20: Database connection successful

Tokens in Database

2025-12-26 02:37:20: Found 1 tokens in database

Token ID: 32 - Type: client_credentials

Token: v^1.1#i^1#I^3#p^1#r^...SAAA=

Expires At: 2025-12-26 03:01:42

Status: Valid

Time Remaining: 00:24:22 (hh:mm:ss)

Created At: 2025-12-24 20:01:23

Updated At: 2025-12-26 01:01:42

Token Actions

Get New User TokenTest Get Orders

Database Maintenance

Clean up old tokens and migrate to new structure:

Database Schema

2025-12-26 02:37:20: ebay_tokens table schema:
Array
(
    [0] => Array
        (
            [Field] => id
            [Type] => int
            [Null] => NO
            [Key] => PRI
            [Default] => 
            [Extra] => auto_increment
        )

    [1] => Array
        (
            [Field] => type
            [Type] => varchar(20)
            [Null] => NO
            [Key] => MUL
            [Default] => 
            [Extra] => 
        )

    [2] => Array
        (
            [Field] => token
            [Type] => text
            [Null] => NO
            [Key] => 
            [Default] => 
            [Extra] => 
        )

    [3] => Array
        (
            [Field] => refresh_token
            [Type] => text
            [Null] => YES
            [Key] => 
            [Default] => 
            [Extra] => 
        )

    [4] => Array
        (
            [Field] => expires_at
            [Type] => datetime
            [Null] => NO
            [Key] => 
            [Default] => 
            [Extra] => 
        )

    [5] => Array
        (
            [Field] => created_at
            [Type] => timestamp
            [Null] => YES
            [Key] => 
            [Default] => CURRENT_TIMESTAMP
            [Extra] => DEFAULT_GENERATED
        )

    [6] => Array
        (
            [Field] => updated_at
            [Type] => timestamp
            [Null] => NO
            [Key] => 
            [Default] => CURRENT_TIMESTAMP
            [Extra] => DEFAULT_GENERATED on update CURRENT_TIMESTAMP
        )

)