Loading UPI app with VPA & AMOUNT from browser - php

I have made a php based website and working on payment integration now.
I want to add upi payment option with paytm, google pay, phonepe and bhim.
Once user clicks on icon, appropriate app with predefined VPA and AMOUNT should get loaded
Please help

The way to do this is to follow the UPI linking specification (page 5).
Assuming that the link will be presented on a mobile web browser, your link should look something like: upi://pay?pa=<VPA>&am=<AMOUNT>

You can integrate the UPI intent solution provided by paytm. This will work fine in mobile view, through this integration you will get the deeplink.
You need to call the deeplink provided which will invoke all the UPI PSP Apps on the device and shown to the user with payment amount already filled.
Just for your information UPI intent will not work in web/desktop. You can integrate UPI collect to support web/desktop payment.

Related

How to send Mobile Application Link For iOS and Android In SMS API from PHP?

I have query about SMS API. I am aware about the SMS Gateway Integration Using SMS API
But my question is how to redirect the user to the respective marketplaces (Google Play and iOS app store) from the link sent via SMS gateway
Well I found some solution for redirecting users to there respective marketplaces.
Solution 1
Use third party tools which give you a single link to send via SMS and when user click on that link they will redirect to there market places.
below are some link which help you to get that Single link for your Mobile Application.
One Link
Branch Metrics
many more
Solution 2
Make a web page where you have to check user's device and Conditions to redirect user to there application store. Send Web Page Link in SMS.
Hope this will help Some one.

Google Analytics E-Commerce Tracking without visible thankyou page

I use Google E-Commerce Tracking to track sales and offer different payment methods.
For credit card payment and Paypal the user is redirected to a thankyou page after successful payment and the Google E-Commerce Tracking code is executed there. That works fine.
I also offer barcode bills and ibon as payment method. That means the user prints a bill with a barcode or ibon code and goes to a 7-11 to pay it with cash. The information about the payment is sent from 7-11 to my payment provider and they send me a notification about a successful payment back to my notification url. It normally takes 2 days until I receive this notification.
My problem is:
In this case there is no website displayed to the user where I can enter the E-Commerce Tracking code. The notification url is a page with php only and updates the database.
So, how do I execute the Google E-Commerce Javascript on a php page which is not displayed in the browser?
check out the Google Measurement Protocol Developer Guide, that describes how to send the data with HTTP requests, so you can do it for example with PHP and cURL
https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide
https://developers.google.com/analytics/devguides/collection/protocol/v1/reference

database updation after google checkout payment

I am a new developer in php. In a website, I need to implement "Google checkout" payment method. My client give a script with src. I added that script into my website. I got a Google checkout page.
But I don't know how to customize the style of that page
and how to update my database, if the buyer pay the amount using Google checkout. Is there any option like PayPal notify_url? If yes, how to set up such url?
You can get order state notifications using the Checkout Notification API. Start with the doc below:
http://support.google.com/checkout/sell/bin/answer.py?hl=en&answer=134463
then read the full documentation for details:
https://developers.google.com/checkout/developer/Google_Checkout_XML_API_Notification_API

How to use Paypal Standard in a web application with PHP

I'm looking for a way to build a web application using paypal payments standard. I'd like the user to get redirected to paypal, then fill out their information, and upon completion, add a value in our database saying that they successfully paid. I haven't found a solution or answer to this.
I found this thread for RoR, but didn't find anything for PHP
Paypal Website Payments Standard with a Ruby/Rails application
You can see instructions for a Payment Data Transfer at PayPal's site. Basically, you post the transaction amount and an ID token to their site, the customer pays on paypal.com, and then they're sent back to a pre-defined URL on your site with the transaction details.
I used the NVP API to do that.

How can I get credit for amazon purchases coming from links on my website generated by the product advertising api?

I'm using the Amazon product advertising api to search for amazon products and displaying a link to the product if its found. How can I get credit for a sell that comes from my website? I signed up for the Amazon Associates program but everywhere I look it seems like you have to "generate" these links and keep track of them and thats not really feasible when my app can potentially generate thousands of buy links... So I know theres got to be something I'm missing here. Any help would be greatly appreciated!
You can check generated links on the US site and the UK site with their link checker tool. This will tell you if you get credit for purchases. It won't tell you if you get API credits.
The Product API is documented here - you should use the "DetailPageURL" response attribute for the URL.
You can build your own links like this, subbing in the correct values:
"http://www.amazon.co.uk/exec/obidos/ASIN/#{asin}/ref=nosim/#{uk_associate_id}"
Note - that URL is for the UK site. If you generate your own links, they won't count towards your API usage credit. See here for more details.
Hope that helps.
As you know, when you subscribe to the Amazon Product Advertising API program, you get an AssociateTag, and AccessKeyId and a secret key that is required to authenticate every request sent to Amazon.
So, when someone goes to your site, chooses an Amazon product (displayed on your site) and clicks on the "check out" link, you redirect that customer to Amazon site in order to let them handle the payment process. When the deal is done, Amazon knows that this sell came from your site (because the request to check out included your tag and key) and that's when you get some money from Amazon.
I hope this answers your problem.

Categories