Shitikantha / SCP_DEFECT

0 stars 0 forks source link

Phone Pay Payment Integration in Web Portal #68

Open sandekum28 opened 4 months ago

sandekum28 commented 4 months ago

HI Subham,

Please find below the API testing credentials from PhonePe for TechCell.

In case, you aren't able to do integrate and test, they will later come over a call.

Please do confirm post testing. If you require any further UI screens, you can get it from Harish

The details are shared in mail also.

Find details as below:


Dear Team,

Please go through the below documentation for Phonepe PG Integration:

   Payment Initiation

Web Integration • Pay API for web flow: https://developer.phonepe.com/v1/reference/pay-api#pay-request-for-web-flow

Android Integration

• Android PG SDK - https://developer.phonepe.com/v1/docs/android-pg-sdk-integration • Android PG SDKLess - https://developer.phonepe.com/v1/docs/android-pg-sdkless-integration

IOS Integration

• IOS PG SDK - https://developer.phonepe.com/v1/docs/ios-pg-sdk-integration • IOS PG SDKLess - https://developer.phonepe.com/v1/docs/ios-pg-sdkless-integration

    Response Authorization

Check Status API

• Check Payment Status - https://developer.phonepe.com/v1/reference/check-status-api • Server-to-Server Response - https://developer.phonepe.com/v1/reference/server-to-server-callback-4

     Refund Initialization

Refund Flow • Refund API - https://developer.phonepe.com/v1/reference/refund-6 • Refund Status API - https://developer.phonepe.com/v1/reference/check-status-api

 UAT Simulator

Please use UAT Merchant Simulator for testing: https://developer.phonepe.com/v1/docs/uat-simulator-1 [The merchant simulator is used to simulate the end-to-end payment flows for online merchants. A template is a mapping of APIs and their mock responses using which merchants can simulate the scenarios like Success, Failure, and Pending] Test Credentials: https://developer.phonepe.com/v1/docs/uat-testing#plugin-integration---test-setup

Note: Please make sure to set the Postman template before attempting to test the UAT simulator.

   Go Live

Production Host URL: https://api.phonepe.com/apis/hermes

Pay API: https://api.phonepe.com/apis/hermes/pg/v1/pay

Check Status API: https://api.phonepe.com/apis/hermes/pg/v1/status/{merchantId}/{merchantTransactionId}

Refund API: https://api.phonepe.com/apis/hermes/pg/v1/refund

Please refer to this for UAT to Production migration: https://developer.phonepe.com/v1/docs/how-to-go-live-1

   Checklist for Phonepe PG integration: https://developer.phonepe.com/v1/docs/pg-standard-checklist

       Kindly list all your queries related to PhonePe implementation in the below format.
  1. API Host
  2. Request Payload
  3. Response Payload
  4. Integration type(Web/Android/IOS)

    Thanks & Regards, PhonePe Integration Team

Use these credentials for UAT testing:

UAT Credentials Test card details: Netbanking Credentials MID: PGTESTPAYUAT93 Salt Index: 1 Salt Key: 875126e4-5a13-4dae-ad60-5b8c8b629035 Card_number: 4622-9431-2614-6407 card_type: DEBIT_CARD card_issuer: VISA expiry_month: 12 expiry_year: 2023 CVV: 936 Bank Page OTP: 123456 Username: test Password: test