๐Ÿ”ง eBay Domain Migration Guide

๐Ÿšจ Current Issue

Problem: eBay is still redirecting to the old domain ebaylister.ddns.net instead of your new domain optimusuk.co.uk.

This happens because your eBay application in the eBay Developer Portal is still configured with the old redirect URI.

๐Ÿ“‹ What We've Fixed

๐Ÿ› ๏ธ Solutions (Choose One)

Option 1: Update eBay Developer Portal (Recommended)

2Find your application "Leebarth-listings-PRD-a07736cc6-8e372b00"
3Update the redirect URI from https://ebaylister.ddns.net/ebay/auth.php to https://optimusuk.co.uk/html/ebay/auth_user.php
4Save the changes
5Test the authorization flow again

Option 2: Use Temporary Redirect Handler

1Keep the old redirect URI in eBay Developer Portal for now
2The updated auth.php will automatically redirect to the new domain
3This works as a temporary solution while you update the eBay configuration

๐Ÿงช Test the Authorization Flow

๐Ÿš€ Start Authorization๐Ÿ” Test URL Generation

๐Ÿ“Š Current Configuration

โš ๏ธ Important Notes

โœ… Expected Flow

  1. Click "Start Authorization" above
  2. You'll be redirected to eBay's authorization page
  3. Log in to your eBay account and grant permissions
  4. eBay will redirect back (either to old or new domain)
  5. The redirect handler will forward you to the new domain
  6. The authorization code will be exchanged for tokens
  7. User token will be saved to the database
  8. Your cron jobs should start working properly

๐Ÿ” Debug Information

Current Authorization URL:

https://auth.ebay.com/oauth2/authorize?client_id=Leebarth-listings-PRD-a07736cc6-8e372b00&redirect_uri=Lee_bartholomew-Leebarth-listin-lbnljg&response_type=code&scope=https%3A%2F%2Fapi.ebay.com%2Foauth%2Fapi_scope+https%3A%2F%2Fapi.ebay.com%2Foauth%2Fapi_scope%2Fsell.inventory+https%3A%2F%2Fapi.ebay.com%2Foauth%2Fapi_scope%2Fsell.account+https%3A%2F%2Fapi.ebay.com%2Foauth%2Fapi_scope%2Fsell.fulfillment+https%3A%2F%2Fapi.ebay.com%2Foauth%2Fapi_scope%2Fsell.fulfillment.readonly&prompt=login

๐Ÿ“ž Need Help?

If you continue to have issues: