PHPackages                             ocdladefense/appserver-card-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ocdladefense/appserver-card-manager

ActiveWordpress-theme

ocdladefense/appserver-card-manager
===================================

044PHP

Since May 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ocdladefense/appserver-card-manager)[ Packagist](https://packagist.org/packages/ocdladefense/appserver-card-manager)[ RSS](/packages/ocdladefense-appserver-card-manager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Payment Profile Manager
=======================

[](#payment-profile-manager)

Manage customers' saved payment profiles(cards) on file.

Description
-----------

[](#description)

The payment profile manager exposes CRUD operations and related UX to manage customers' saved payment methods on file.

Routes
------

[](#routes)

- `customer/%contactId/save` - `GET` - Create the authorze.net customer profile and save the Contact's customer Profile ID to Salesforce.
- `customer/enroll` - `GET` - Initiate the authorize.net customer profile creation process.
- `cards` - `GET` - Show all of the saved payment profiles for the current user.
- `card/create` - `GET` - Display a form so that the current user can create a new payment profile.
- `card/edit/%id` - `GET` - Display a form so that the current user can edit an existing payment profile.
- `card/save` - `POST` - Save a new payment profile, or changes made to an existing payment profile.
- `card/delete/%id` - `DELETE` - Delete a payment profile.

Required Constants/Settings
---------------------------

[](#required-constantssettings)

- AUTHORIZE\_DOT\_NET\_MERCHANT\_ID (string)
- AUTHORIZE\_DOT\_NET\_TRANSACTION\_KEY (string)
- AUTHORIZE\_DOT\_NET\_USE\_PRODUCTION\_ENDPOINT (boolean)
- AUTHORIZE\_DOT\_NET\_AUTO\_ENROLL (boolean)

Authorize.net endpoints
-----------------------

[](#authorizenet-endpoints)

- SANDBOX -
- PRODUCTION -

Testing Scripts
---------------

[](#testing-scripts)

### Updating a customer's Profile ID.

[](#updating-a-customers-profile-id)

- Editing a field on Salesforce -

1. Don't login to the app.
2. Run the `customer/003j000000rU9NvAAK/save` route.
3. Validate that the route executes without any errors.
4. Validate that the UPDATE was successful:
    - In the Salesforce Developer Console run this query:

        ```
          SELECT Id, Firstname, LastName, Ocdla_Member_Status__c, AuthorizeDotNetCustomerProfileId__c FROM Contact WHERE Id = '003j000000rU9NvAAK'

        ```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

 Bus Factor1

Top contributor holds 63.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6232180?v=4)[ocdladefense](/maintainers/ocdladefense)[@ocdladefense](https://github.com/ocdladefense)

---

Top Contributors

[![jbernal](https://avatars.githubusercontent.com/u/2598974?v=4)](https://github.com/jbernal "jbernal (12 commits)")[![ocdladefense](https://avatars.githubusercontent.com/u/6232180?v=4)](https://github.com/ocdladefense "ocdladefense (7 commits)")

### Embed Badge

![Health badge](/badges/ocdladefense-appserver-card-manager/health.svg)

```
[![Health](https://phpackages.com/badges/ocdladefense-appserver-card-manager/health.svg)](https://phpackages.com/packages/ocdladefense-appserver-card-manager)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
