PAM Native Payments
Start here
Section titled “Start here”Every PAM Native product runs on the PAM runtime. Install and verify PAM first, create a Native application, and add this package through PAM Composer:
curl -fsSL https://github.com/push-in/pam/releases/latest/download/install.sh | shpam doctorpam init my-app --template nativecd my-apppam composer require pushinbr/pam-native-paymentspam doctorpam native devreturn PaymentSheet::make($publishableKey, $paymentIntentClientSecret, 'Acme') ->returnUrl('acme://stripe-redirect') ->onResult(fn (PaymentResult $result, string $message) => $this->handle($result));PaymentSheet configures Stripe’s native UI; PaymentResult distinguishes
completed, cancelled, and failed. The PHP API rejects Stripe secret keys.
Create PaymentIntents and short-lived client secrets on the server. Configure wallet merchant identities and return URLs. Never grant/fulfill an order from the client callback: verify Stripe webhooks server-side and derive durable entitlement there.
PaymentsPluginProvider registers the platform payment sheet.