piprapay nuxbill plugin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.2 KiB

piprapay-nux

piprapay nuxbill plugin

The plugin is now properly integrated with PipraPay and should handle payments smoothly. Here's a quick summary of what we accomplished: Working Features:

Payment Creation - Creates PipraPay payment successfully

Redirect to Gateway - Takes users to PipraPay payment page

Payment Verification - Automatically verifies payments via API

Package Activation - Activates user packages after successful payment

Error Handling - Proper error messages for failed payments

🔧 Key Fixes Applied:

✅ Correct API response format detection (status: true instead of success: true)

✅ Proper payment URL handling (pp_url instead of data.payment_url)

✅ Correct transaction ID usage (pp_id instead of data.transaction_id)

✅ Required fields included (metadata and webhook_url)

📝 For Future Reference:

If you need to modify the plugin later, remember that PipraPay API uses this response format: json

{ "status": true, "pp_id": "transaction_id", "pp_url": "payment_url" }

The plugin is now ready for production use! Users can click "Pay Now", get redirected to PipraPay, complete their payment, and automatically get their packages activated when they return to your site.