I am facing a strange issue, I am using PayU Money for Payment gateway. Everything works fine when i open my website url on laptop/desktop and make the payments. Its give me a message that successfully booked your service and whatever necessary actions to be followed after that works fine.
But when i do the same think while i open my website in phone ( on Browser) and make the Payment :
I select first the Payment mode ( Google Pay/PayTm Etc)
In Some phone the Payment app gets open as if it has opened within the same browser or session and when i make the payment, it re directs it properly.
BUT in some phones it asks to open the Payment app separately , and it takes me away from the Browser and when i open paytm/google pay and make payment, payment gets passes successfully but it never returns backs to me the Successful booking page.
i am not able to understand what is the issue.
We have tried this in multiple phones like Android, iOS, in some phones it works fine and in some other phones it does not work
Related
I've recently installed the Amasty One Step Checkout with "PayPal Website Payments Hosted Pro solution" as the payment method. The site uses the RWD theme.
The problem is when a user makes a purchase it goes through fine the first time, if they then try and make another purchase the checkout redirects to the paypal payment page with the message "Error Processing Payment".
https://securepayments.paypal.com/webapps/HostedSoleSolutionApp/webflow/sparta/hostedSoleSolutionProcess?hosted_button_id=HSSS-WN-Oo2-BuTyYdJ8gCT9r3KEidgZENLcmDBwXyemXiHvUnZpNqnzBVFnWDabxqdvi-6gPcA
The strange thing is if I clear the browser cookie labelled "frontend" it then clears the issue and a user can checkout fine again.
Any help would be much appreciated after days of talking with support and getting nowhere.
Thanks in advance everyone,
TythebarnDev
Hosted Button tokens have an expiry time of around 2 hours from PayPal. Theoretically, the token, if active, can be used multiple times to make the payments. However, since HSS tokens represent a unique checkout, it is not advised to make multiple payments. Example: In case the merchant uses an invoice to create a hosted button token, the subsequent payment attempts will result in “Duplicate Payments”.
The specific Error "Error Processing Payment” looks like a case of Expired Hosted Button token.
Also, the “frontend” cookie seems to be something coming from the Checkout(your) site. PayPal does not read the front end cookie. To me it looks like a control mechanism from your end.
Let me know if this helps
Hi we have a site built in php and made an paypal app and are using the REST API. The flow should be user makes deposit > payment is authorized > user is redirected to user account on site and sees the deposit > deposit and transaction id show in site admin.
This works perfectly in sandbox but when we set it to live (and changed the credentials in the site code) and made some small transactions to test it, the live paypal acct is getting the deposits but its not showing in the user account or in the sites admin panel.
Not sure where we went wrong with this.
Most likely the app you created is not getting the completed payment information from PayPal.
One way you can get the information your application needs is using webhooks.
From the PayPal Developer Site:
Webhooks are user-defined HTTP callbacks that receive events for the subscribed event types. Webhooks are asynchronous, the order is not guaranteed, and idempotency may lead to the same event being sent more than once. The webhooks configurations include: create, list, update, and delete.
Below are three links to the overview of using Webhooks, sample code and the Webhooks Simulator.
Webhooks Overview from PayPal Developer Site
Sample Code from PayPal Developer
Webhooks Simulator
When the customer selcts Visa/Mastercard as the payment method, they're sent to an external payment terminal to make the actual payment (NETS BBS). After inputting their card data they're then sent to an authorization terminal (3D Secure), if their bank supports it, to verify their payment. At the end they're sent back and is presented with a "Thank you" page. And this is where the google ecommerce tracker is executed.
But what happens is that "mpi1.3dsecure.no" gets detected as the referral. This is the authorization terminal where the customer verified their payment. This is to some degree correct since it's where they entered the "Thank you" page from, but is not what we're looking for. We want to know where the customer came from into the site to begin with.
Has anyone wxperienced this behaviour, and know of a workaround to this?
Tried to put the google code before being sent to the external payment site, but that can provide unaccurate results since not all payment succeeds...
Go to the property settings and add your payment gateway to the referral exclusion list (won't change data already recorded but should fix the problem for future transactions).
I am working on a project which will be able to accept paypal payments. The sequence I am using is as follows:
My current development sites' payment steps:
The user goes to my site,
Chooses to pay for something,
Is redirected to paypal,
The payment is completed on paypal,
Then the user gets redirected back to my sites success url.
This works fine, as I use an IPN listener to update my database in the background when paypal decides to confirm the committed payment and let the user know accordingly.
However, a few days ago, I was doing some online shopping of my own, and paid using paypal. I noticed that when I paid, I was redirected to paypal, where I logged in and saw the paypal invoice. I clicked confirm, and I was redirected back to the sellers website, where I so a summary and was told to commit the purchase!!!
So basically, the sequence was something like this:
My shopping experience from a different sellers site:
I wanted to pay for the items,
I was redirected to paypal,
I was the invoice and confirmed the payment,
I was redirected to the sellers site,
I was was shown a confirmation of the order and was asked to commit the payment,
I committed the payment and was told that the order has been completed.
The difference, my site commits the purchase on the paypal website and I listen for a reponse from paypal using their IPN system, but this second site seems to commit the payment on the sellers actual website.
I thought, wow, that felt so much more reassuring from a user experience point of view.
How is that done?
Sounds like you're currently using Payments Standard and you want Express Checkout.
Express Checkout is very similar to Standard except that it's API based and the user gets returned to your site prior to finalizing the payment.
It consists of 3 API calls...
1) SetExpressCheckout - gets a token back from PayPal that you append to the end of a redirect URL that sends the person over to PayPal to login and review the payment.
2) GetExpressCheckoutDetails - This allows you to pull the payer details (name, phone, shipping address, etc.) back into your app from PayPal. This is an optional step.
3) DoExpressCheckoutPayament - this finalizes the payment. No money is moved until this API call happens, and it doesn't happen, of course, until the user is already back at your site and within your own app flow again.
You can still use IPN the way you are, but you could also things directly within the flow as well since you get instant responses back from the API, and you can setup your own review however you want to.
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