Add purchase subscription test

This commit is contained in:
Emili Castells Guasch 2023-03-06 15:10:33 +01:00
parent bdc69a6fc6
commit 6400e14874
4 changed files with 91 additions and 39 deletions

View file

@ -6,12 +6,20 @@ AUTHORIZATION="Bearer ABC123"
WP_MERCHANT_USER="admin"
WP_MERCHANT_PASSWORD="admin"
MERCHANT_USER="merchant"
MERCHANT_PASSWORD="merchant"
WP_CUSTOMER_USER="customer"
WP_CUSTOMER_PASSWORD="password"
CUSTOMER_EMAIL="customer@example.com"
CUSTOMER_PASSWORD="password"
CUSTOMER_FIRST_NAME="first"
CUSTOMER_LAST_NAME="last"
CUSTOMER_COUNTRY="country"
CUSTOMER_ADDRESS="address"
CUSTOMER_POSTCODE="12345"
CUSTOMER_CITY="city"
CUSTOMER_PHONE="1234567890"
CREDIT_CARD_NUMBER="1234567890"
CREDIT_CARD_EXPIRATION="01/2042"