Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
Paytm Payment Gateway flow and how it work :-
Add Client-side certificate file inside the raw folder. If the raw folder is not there then create the raw folder within the “res” folder.
Once you have completed the above configuration setup, then you can start using PG Service API’s.
Payment Transaction
Java
Where, paramMap is the map containing request parameter names and their respective values. Please refer Example given in the next subsection.
4. Create PaytmClient Object holding the Merchant Configuration. The syntax for creating PaytmMerchant Object is as follows:
where, inPassword is the Client side certificate password inFileName is the Client side certificate file name. This file must be present inside “raw” folder.
Where, inOrder is the Object which is holding Order Information. inMerchant is the Object which is holding Merchant Configuration. inCertificate is the Object which is holding Certificate Information. Pass this as null if no client certificate is used by the merchant (as given above in the Prerequisites section)
Where, inCtxt is the Activity Context in which you are calling this method. inbHideHeader is a boolean variable to hide or show Header Bar. inbSendAllChecksumResponseParametersToPGServer is a boolean variable to determine whether to send all checksum response parameters to PG Server or not. inPaymentTransactionCallback is a PaytmPaymentTransactionCallback instance to send callback messages back to merchant application.
Once Payment Transaction is done or some error occurs then the callback methods of PaytmPaymentTransactionCallback will be called with a successful response or an error message.
Following is a sample implementation of the APIs.
Sources http://paywithpaytm.com/developer/paytm_sdk_doc?target=android-configurations
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Where I can obtain these certificate and details:
PaytmClientCertificate Certificate = new PaytmClientCertificate(String, String inFileName);
E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY) D/ViewRootImpl: #1 mView = com.android.internal.policy.PhoneWindow$DecorView{a344ae6 I.E…… R…..ID 0,0-0,0} W/AudioCapabilities: Unsupported mime audio/mpeg-L1 W/AudioCapabilities: Unsupported mime audio/mpeg-L2 W/AudioCapabilities: Unsupported mime audio/x-ms-wma W/AudioCapabilities: Unsupported mime audio/x-ima D/ConnectivityManager: requestNetwork; getAppId(CallingUid) : 10166, CallingPid : 27482 W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc D/PGSDK: Page started loading https://securegw-stage.paytm.in/theia/processTransaction D/PGSDK: Progress dialog started W/AudioCapabilities: Unsupported mime audio/evrc W/AudioCapabilities: Unsupported mime audio/qcelp W/AudioCapabilities: Unsupported mime audio/qcelp W/AudioCapabilities: Unsupported mime audio/evrc W/VideoCapabilities: Unsupported mime video/wvc1 W/VideoCapabilities: Unsupported mime video/x-ms-wmv D/libGLESv2: DTS_GLAPI : DTS is not allowed for Package : com.development.prvak.docappwithotp W/VideoCapabilities: Unrecognized profile/level 32768/2 for video/mp4v-es W/VideoCapabilities: Unsupported mime video/wvc1 W/VideoCapabilities: Unsupported mime video/x-ms-wmv W/VideoCapabilities: Unsupported mime video/x-ms-wmv7 W/VideoCapabilities: Unsupported mime video/x-ms-wmv8 D/ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 48 – 0, 0) vi=Rect(0, 48 – 0, 0) or=1 W/VideoCapabilities: Unsupported mime video/mp43 I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es W/VideoCapabilities: Unsupported mime video/sorenson I/Timeline: Timeline: Activity_idle id: [email protected] time:41293467 V/ActivityThread: updateVisibility : ActivityRecord{d37c84e [email protected] {com.development.prvak.docappwithotp/com.development.prvak.docappwithotp.TestPayment}} show : false D/PGSDK: Page finished loading https://securegw-stage.paytm.in/theia/processTransaction D/PGSDK: Progress dialog ended D/PGSDK: Came in onSaveInstanceState V/ActivityThread: updateVisibility : ActivityRecord{e573336 [email protected] {com.development.prvak.docappwithotp/com.paytm.pgsdk.PaytmPGActivity}} show : false
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
The results provided were above our expectations both in deliverability timeline as well as operation. They are a top-notch company with many resources and a company we feel honoured to work with again!
Lee Seward
Founder, Gro-Connect
USA
India
Global
Name
Email
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.