{"id":36372815,"url":"https://github.com/processwith/paywith-php","last_synced_at":"2026-01-11T14:02:35.855Z","repository":{"id":56506102,"uuid":"308591748","full_name":"processwith/paywith-php","owner":"processwith","description":"Easy PHP library to connect to multiple payment gateways in Africa.","archived":false,"fork":false,"pushed_at":"2021-02-20T17:32:00.000Z","size":13414,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T16:25:07.419Z","etag":null,"topics":["flutterwave-php","paystack","paystack-api","paystack-php","processwith","ravepay"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/processwith.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-30T10:06:27.000Z","updated_at":"2021-02-20T17:32:02.000Z","dependencies_parsed_at":"2022-08-15T20:00:51.158Z","dependency_job_id":null,"html_url":"https://github.com/processwith/paywith-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/processwith/paywith-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/processwith%2Fpaywith-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/processwith%2Fpaywith-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/processwith%2Fpaywith-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/processwith%2Fpaywith-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/processwith","download_url":"https://codeload.github.com/processwith/paywith-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/processwith%2Fpaywith-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28306985,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T11:18:18.743Z","status":"ssl_error","status_checked_at":"2026-01-11T11:07:56.842Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flutterwave-php","paystack","paystack-api","paystack-php","processwith","ravepay"],"created_at":"2026-01-11T14:02:35.071Z","updated_at":"2026-01-11T14:02:35.844Z","avatar_url":"https://github.com/processwith.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/processwith/processwith-assets/main/paywith-repo-featured%20image.png\" alt=\"paywith repo image\"\u003e\n  \u003ch1 align=\"center\"\u003ePaywith\u003c/h1\u003e\n\n\u003c/p\u003e\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/processwith/paywith-php.svg?style=flat-square)](https://packagist.org/packages/processwith/paywith)\n[![](https://img.shields.io/github/license/processwith/paywith-php.svg)](https://github.com/processwith/paywith-php/blob/master/LICENSE)\n[![](https://img.shields.io/travis/processwith/processwith-php.svg)](https://travis-ci.com/github/processwith/paywith-php/)\n\nPaywith makes it easy to use multiple payment gateways in your PHP application.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require processwith/paywith-php\n```\n\n## Usage\n\n### basic transaction\n``` php\nuse ProcessWith\\PayWith;\n\n$paywith = new PayWith('Paystack', 'Your Paystack Secret');\n$transaction-\u003einitialize([\n    'amount' =\u003e 5000,\n    'email'  =\u003e 'jeremiahsucceed@gmail.com',\n    'callback_url' =\u003e 'http://localhost:3000/tests/verify',\n    'currency' =\u003e 'NGN'\n]);\n\n$transaction-\u003echeckout(); // redirect to checkout page\n```\nLove more examples, see the example page.\n\n### verify a transaction\n``` php\n// Paywith must have be initialize with Paystack or Flutterwave \n$transaction = $paywith-\u003etransaction();\n$transaction-\u003everify( $_GET['reference'] );\n\nif( $transaction-\u003estatus() )\n{\n    // check the email and the amount\n    // before giving value\n    $amount = 5000;\n    $email  = 'jeremiah@gmail.com';\n\n    if ( $amount == $transaction-\u003egetAmount() \u0026\u0026 $email == $transaction-\u003egetEmail() )\n    {\n        // give value\n        // echo 'thanks for making payment';\n    }\n}\n```\n\n### webhook\n``` php\n// Paywith must have be initialize with Paystack or Flutterwave \n$transaction    = $paywith-\u003etransaction();\n$transaction-\u003ewebhook();\n\nif( $transaction-\u003estatus() )\n{\n    // check the email and the amount\n    // before giving value\n    $amount = 5000;\n    $email  = 'jeremiah@gmail.com';\n    if ( $amount == $transaction-\u003egetAmount() \u0026\u0026 $email == $transaction-\u003egetEmail() )\n    {\n        // give value\n        // echo 'thanks for making payment';\n    }\n}\n```\n\n### Tutorials\nWe are making some plug and play tutorials. If you like to recieve one when it still HOT, click [here](#).\n\n### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n### Security\n\nIf you discover any security related issues, please email jeremiah@processwith.com instead of using the issue tracker.\n\n## Credits\n\n- [Jeremiah Ikwuje](https://github.com/ijsucceed)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprocesswith%2Fpaywith-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprocesswith%2Fpaywith-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprocesswith%2Fpaywith-php/lists"}