Changelog

Latest updates and improvements

v0.2 Feature

Platform Update

🚀 New Features

  • Improved service purchase flow: after payment, service orders correctly mark the payment as completed while keeping the order pending for manual approval.
  • Clearer Orders page actions: “Pay Now” only appears when truly unpaid; service orders never show “Cancel” to users.

🛠️ Improvements

  • Correct PayPal environment handling for the Pay Now button based on sandbox vs live.
  • Orders page logic aligned with business rules:
    • “Cancel” only for non-service orders with pending PayPal/Crypto payments.
    • “Pay Now” hidden after successful service payment (payment is completed; order remains pending).
  • Service payment completion now reliably updates payment status before redirecting to the service success page.
  • Fixed PayPal custom_id parsing to reliably extract the product ID.

🐛 Bug Fixes

  • Resolved PayPal checkout issue by fixing the Pay Now URL domain logic (sandbox vs live).
  • Prevented user cancellation of service-type orders in both UI and server logic.
  • Blocked cancellation of orders when payment is not pending (e.g., already completed).
  • Addressed edge cases where service orders redirected before recording completed payment.

⚡ Performance

  • Reduced checkout friction by directing users to the correct PayPal environment automatically.
  • Lowered error loops with idempotent updates for service orders on payment completion.

🔒 Security

  • Strengthened server-side validation for cancellations:
    • Disallows cancellation of service orders.
    • Disallows cancellation when payment is not pending.
    • Maintains strict user-ownership checks for all actions.

We’re continually refining checkout and order management to improve your experience. Thank you for using our platform!

Published by stefan.p1