techrar docs
Home
Solutions
Solutions
  • eCommerce SaaS
  • Meals SaaS
  • Meals Marketplaces
API
API
  • Merchant APIs
  • Customer App APIs
  • Meals APIs
Techrar Connect
Home
Solutions
Solutions
  • eCommerce SaaS
  • Meals SaaS
  • Meals Marketplaces
API
API
  • Merchant APIs
  • Customer App APIs
  • Meals APIs
Techrar Connect
  1. Placing Orders
  • GETTING STARTED
    • Marketplaces Overview
    • Account Setup
    • Authentication
    • Webhooks
    • Sales Channel Profile
  • Offerings & Listings
    • Display Providers
    • Plan Categories
    • Plans & Versions
    • Display Menus
  • Customer Profiles
    • Authenticating Customers
    • Customer Profile
    • Customer Location
  • Placing Orders
    • Place Subscription Order
    • Order Payment
  • Subscriptions
    • Subscription Lifecycle
    • Subscription Management
  • Complaints
    • Complaint Lifecycle
    • Complaint Management
  1. Placing Orders

Order Payment

Handle payment confirmation for subscription orders.

Overview#

After placing an order, it's created in pending status awaiting payment. You have two options for handling payments: use Techrar Pay or integrate your own payment solution.

Payment Options#

Option A: Techrar Pay
Option B: Your Payment

Use Techrar's Payment Solution#

The simplest option - redirect customers to Techrar's payment page.
How it Works:
1.
Place Subscription Order and receive payment_url in response
2.
Redirect customer to payment page with parameters:
{payment_url}?lang=ar&success_url=https://yourapp.com/success&error_url=https://yourapp.com/error
3.
Customer completes payment on Techrar's secure page
4.
Receive webhook notification when payment completes
5.
Redirect customer back to your app
Parameters:
lang: Payment page language (ar or en)
success_url: Where to redirect after successful payment
error_url: Where to redirect if payment fails
Webhook:
You'll receive webhook notification with order status update. See Webhooks for details.

Fetch Orders#

You can also use List Provider Meals Orders and Provider Meals Order Details endpoints to fetch orders.

Order Reference#

Use the reference field to sync orders between your system and Techrar:
{
  "reference": "YOUR_ORDER_ID_123",
  ...
}
This helps you:
Track orders across both systems
Match webhooks to your internal orders
Handle support queries
Reconcile payments
Modified at 2025-11-24 07:54:57
Previous
Place Subscription Order
Next
Subscription Lifecycle
Built with