azaharizaman/nexus-payment-wallet

Payment wallet extension providing integrations with digital wallets, mobile payments, and BNPL services

Maintainers

Package info

github.com/azaharizaman/nexus-payment-wallet

pkg:composer/azaharizaman/nexus-payment-wallet

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0-alpha1 2026-05-05 02:28 UTC

This package is auto-updated.

Last update: 2026-05-05 03:04:28 UTC


README

Version: 0.1.0
Status: In Development
PHP: ^8.3
Extends: azaharizaman/nexus-payment

Overview

Nexus\PaymentWallet is an extension package for Nexus\Payment providing integrations with digital wallets (Apple Pay, Google Pay), regional wallets (GrabPay, Touch'n Go), and Buy Now Pay Later (BNPL) services (Klarna, Afterpay, Atome).

Installation

composer require azaharizaman/nexus-payment-wallet

Features

  • Digital Wallets - Apple Pay, Google Pay, Samsung Pay
  • Regional Wallets - GrabPay, Touch'n Go, GCash, Boost
  • BNPL Services - Klarna, Afterpay, Affirm, Atome
  • Cryptocurrency - Bitcoin, Ethereum (optional extension)
  • QR Payments - DuitNow QR, PayNow QR

Quick Start

use Nexus\PaymentWallet\Contracts\WalletManagerInterface;

final readonly class WalletPaymentService
{
    public function __construct(
        private WalletManagerInterface $walletManager,
    ) {}

    public function processWalletPayment(string $walletType, WalletPaymentRequest $request): PaymentResult
    {
        $wallet = $this->walletManager->getWallet($walletType);
        return $wallet->charge($request);
    }
}

Supported Wallets

Wallet Type Region
Apple Pay Digital Global
Google Pay Digital Global
GrabPay Regional SEA
Touch'n Go Regional Malaysia
Klarna BNPL EU, US
Afterpay BNPL US, AU
Atome BNPL SEA

Documentation

License

MIT License. See LICENSE for details.