Skip to content

Update stored cards mechanisms, add testing scaffolding - #5

Merged
leith merged 1 commit into
mainfrom
stored-card-adjustments
Aug 8, 2025
Merged

Update stored cards mechanisms, add testing scaffolding#5
leith merged 1 commit into
mainfrom
stored-card-adjustments

Conversation

@leith

@leith leith commented Aug 4, 2025

Copy link
Copy Markdown
Member
  • add scaffolding for unit tests
  • add support for purchase using cardReference as well as token
  • update base PHP version requirement to 7.2
  • update storeCard parameter to use standard createToken
  • fix typos in README
  • remove createCard/completeCreateCard

@leith

leith commented Aug 4, 2025

Copy link
Copy Markdown
Member Author

Note: test scaffolding failed until the tests/ folder was added with a basic gateway test with a setup method (not running any assertions yet, just the defaults supplied by the tests framework).

Comment thread .github/workflows/main.yml
@dp-roberts

Copy link
Copy Markdown
Contributor

@AimalAzmi could you code review this to please

@leith
leith marked this pull request as ready for review August 7, 2025 04:22
Comment thread src/Gateway.php
* add scaffolding for unit tests
* add support for purchase using cardReference as well as token
* update base PHP version requirement to 7.2
* update storeCard parameter to use standard createToken
* fix typos in README
* remove createCard/completeCreateCard
@leith
leith force-pushed the stored-card-adjustments branch from aea98f3 to ecca0cf Compare August 8, 2025 02:14
@leith
leith merged commit f9a292b into main Aug 8, 2025
24 of 28 checks passed
@leith
leith deleted the stored-card-adjustments branch August 8, 2025 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants