Search Unity

Question how to implement payment gateway in unity for send and reciving real money

Discussion in 'Scripting' started by DANIYALSALEEM379, Jan 12, 2024.

  1. DANIYALSALEEM379

    DANIYALSALEEM379

    Joined:
    Jan 13, 2018
    Posts:
    9
    how to implement payment gateway in unity for sending and receiving real money but dont want to use google pay. i have an gateway api that of my own country here is the but dont know how to integrate it link https://sandbox.jazzcash.com.pk/SandboxDocumentation/
    please help
     
  2. Nad_B

    Nad_B

    Joined:
    Aug 1, 2021
    Posts:
    730
    First you need to check if it's allowed by the Stores. Both Google and Apple are very strict on this point (Apple even more than Google) and allow only very specific app/purchases types to go outside their IAP system.

    Then you'll highly likely need to create a website/api to process the payments/receive payment webhooks from the payment gateway, then make your app listen/periodically poll for payment status from your website/api.

    So read the gateway documentation. Make the payment flow works outside Unity (on a website/api). Then at the end connect your Unity app to your website/api.
     
    DANIYALSALEEM379 and PraetorBlue like this.