♻️ Move PayPal product names to config file

Because constants are better than magic strings
This commit is contained in:
Philipp Stracker 2025-03-03 15:27:53 +01:00
parent 748c7f4d10
commit 27f4ab442f
No known key found for this signature in database
2 changed files with 12 additions and 5 deletions

View file

@ -24,3 +24,9 @@ export const PRODUCT_TYPES = {
PHYSICAL: 'physical',
SUBSCRIPTIONS: 'subscriptions',
};
export const PAYPAL_PRODUCTS = {
ACDC: 'PPCP',
BCDC: 'EXPRESS_CHECKOUT',
VAULTING: 'ADVANCED_VAULTING',
};