https://github.com/milovantomasevic/stripe-product-deletion
Automate the process of deleting archived products on the Stripe dashboard using Selenium WebDriver.
https://github.com/milovantomasevic/stripe-product-deletion
Last synced: 28 days ago
JSON representation
Automate the process of deleting archived products on the Stripe dashboard using Selenium WebDriver.
- Host: GitHub
- URL: https://github.com/milovantomasevic/stripe-product-deletion
- Owner: MilovanTomasevic
- License: mit
- Created: 2023-09-10T15:29:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-10T15:31:47.000Z (about 2 years ago)
- Last Synced: 2024-12-29T05:11:43.670Z (9 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stripe Product Deletion Automation
Automate the process of deleting archived products on the Stripe dashboard using Selenium WebDriver.
## Motivation
Stripe doesn't provide an API to delete archived products, requiring manual deletion through the dashboard. As engineers, we aim to streamline repetitive tasks during development and testing, saving valuable time. This script provides a solution by automating product deletion, running seamlessly in the background (headless).
## Prerequisites
Before you begin, ensure you have met the following requirements:
- Python installed on your local machine.
- Selenium library (`pip install selenium`).
- Chrome WebDriver installed and added to your system's PATH.## Installation
1. Clone this repository to your local machine:
```shell
git clone https://github.com/MilovanTomasevic/stripe-product-deletion.git
cd stripe-product-deletion
```2. Enter your Stripe dashboard login credentials:
```py
USER_EMAIL = "your_email@example.com"
USER_PASSWORD = "your_password"
```3. Run the script:
```sh
python main.py
```The script automates the deletion of archived products on the Stripe dashboard, eliminating the need for manual intervention.
## Future Enhancements
There is room for improvement in this solution. Feel free to contribute or suggest enhancements to make this automation even more effective.