subscribepro / subscribepro-magento2-ext

Subscribe Pro Magento 2 Integration Extension
MIT License
24 stars 22 forks source link

Fix Admin Panel Cart / Checkout with PaymentFields #241

Closed garthbrantley closed 7 months ago

garthbrantley commented 7 months ago

PRs: #214

Issues:

eugene-shab commented 7 months ago

@garthbrantley Added a fix for the payment token and removed hardcoded API URL

garthbrantley commented 7 months ago

Issue occurs:

Image

eugene-shab commented 7 months ago

@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. image

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.

eugene-shab commented 7 months ago

@garthbrantley Waiting for new fields and will be tested.