Skip to content

[engine] Cash boosts #2462 #2463

Ben requested to merge feat/cash-boosts-2463 into master

Ticket(s) / Related Merge Requests

Closes #2463 (closed), #2462 (closed) and front#5820 (closed)

Front: front!2126 (merged)

Summary of Changes

Cash boost support for API

Testing Considerations

There is NO UI for cash boosts yet, so to test it you need to use postman

Check the api/v2/boosts collection, log in via the endpoint and copy for XSRF token to your environment.

To test you will need to edit the url like so

https://feat-cash-boosts-2463.minds.io/api/v2/boost/activity/<<activityGuid>>/<<ownerGuid>>

And replace the guid in the body and the payment_method_id with one that your user users.

After submission you should see an entry in Stripe for the payment.

Make a second one - accept and decline them from the admin console - check the state in stripe updates appropriately.

Test both offchain boosts and cash boosts still works too.

Deployment Considerations

Standard Deployment

HAS FEATURE FLAG.

Regression Scope

Boost and cash Superminds

Platform Affected (web, mobile, etc)

Web

Developer Testing Completed

PHPSpec / Codeception / PHPSpec

Screenshots / Screen Recording

See #2462 (closed)

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Ben

Merge request reports