Closed garthbrantley closed 7 months ago
@garthbrantley Added a fix for the payment token and removed hardcoded API URL
Issue occurs:
2303779999000275
card@garthbrantley I see a difference between Config2 and Config1 response from platform.
So, for Config2 there are no required fields: creditcard_last_digits
, creditcard_fist_digits
, creditcard_month
, creditcard_year
, creditcard_type
This is why the code throws an error because the required fields are missing.
For the correct operation of the code, the fields must be in the response from Platforms for both configs.
If you see another way please share it.
@garthbrantley Waiting for new fields and will be tested.
PRs: #214
Issues:
api.subscribepro.com
should not be hard coded