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-11-10 22:14:59: Database connection attempt made
2025-11-10 22:14:59: Database connection successful

Tokens in Database

2025-11-10 22:14:59: No tokens found in database

Token Actions

Get New User TokenTest Get Orders

Database Maintenance

Clean up old tokens and migrate to new structure:

Database Schema

2025-11-10 22:14:59: 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
        )

)