How to update user's page using express checkout - paypal

I would like to implement the in-context checkout that enables users to pay for a good and without having to reload another page (other than the paypal payment window) access the content. As I currently understand the process, the client will request my server for the paypal url to initiate the transaction. I will request paypal and send their PAYMENTURL as a response then if they complete the transaction they will be redirected to the url I provided paypal, but how can I then notify the client page that it is allowed to access the content without having them reload?
If you need a clearer example they have a mock website where there is a video playing, at some mark the video stops and then if you pay the video is then fully streamed, however the user did not have to reload the page for those changes to take place.

I see that you don't want to reload the page ,so for example if you want to display the "Congratulations page" as shown in the demo
you could either do :
Do a ajax call , so once the payment is complete, the lightbox is closed and make a ajax call to update the client page.
Once lightbox is closed, display another pop up window to display the "Congratulations page" and prompt user to close it.

Related

Why PayPal redirects to home page instead of payment page?

I got a huge problem with my PayPal e-commerce payment system.
The users cannot proceed to payment, because they are redirected to the PayPal home page instead of the payment page.
I can reproduce the problem easily, by typing the payment url twice in the browser, for instance this one (valide for 3 hours)
The first time, the payment page can appears, and the second time it will be the home page. The home page can appears the first time too. It looks like random.
Does someone know something about that problem?
Change the first ampersand (&) in the URL to a question mark (?) -- so that it's https://www.paypal.com/cgi-bin/webscr?cmd=_ap-payment&paykey=... instead.

Responsive landing page for Paypal button?

Using a standard Paypal merchant account to create a pay button, integrated into a "button" on our CMS (mobeefox.com) via URL.
Using this standard function, end user lands on a non-responsive form.
Is it possible to create a URL towards a responsive landing page for payment without developping?
Thanks in advance!
The user will only be redirected to responsive landing page if they use mobile device to access it. On desktop, the landing page will stay as it is. Also, note that the responsive page (or mobile-optimized page) will not work under certain circumstances such as if the button has discount amount etc. More information on it: https://developer.paypal.com/docs/classic/products/mobile-paypal-payments-standard/#usecases

Using Browser I want to do open a url,for doing payment

In my iPhone app using Browser I want to open a url for processing a payment.
When webpage loads a button is displayed, on clicking the button a new page opens in a new window.
On that page user enters the payment details and payment is processed.
After payment we are directed to a success page.
The question is, how do I return to my application after payment?
If you own the success page, then you could define your own URI scheme, that will automatically open your application on the device. This is how some links open the iTunes app, via an itms:// URI scheme.
A good way to deal with this can be seen here:
Possible to handle your own http URL schemes in iOS?

App - Displaying different pages on the Page Tab and the Landing Page

I am trying to make a FB app which does the following:
i) The app is present on the page Tab. When the user click the pageTab, she is shown a screen[A1] where she can invite her friends to this app.
ii) When the friend gets the notification, she sees another screen [A2] which tells about the app.
What are the ways to do this?
I was wondering if there is a way to identify the source of the requests (other than the url on browser) to differentiate between the two requests to the Apps so that I can render the appropriate screens [A1] or [A2] based on if it is clicked from the PageTab or directly the invite notification.
Thank you.
See https://developers.facebook.com/docs/requests/, section „Accepting a User Request” – your app will get the request id(s), and can then read out the details of the request(s).
If the pure fact that the user came by your app following a request notification isn’t enough for you in your scenario, you can also pass an additional data parameter while making the request, read that out when processing the request, and let your app react accordingly.
And remember that it is your responsibility to delete requests once the user has acted upon them. (Also described in detail in the documentation.)

auto redirect from paypal to website

I have a Buy Now button which works fine but my problem is that I want to return to my website after the transaction is complete. a link or something so that the user will not type again the url or hit the back button of the browser . Thanks!
Login to Paypal > Profile > Website Payment Preferences
Within here, enable the auto-return option.
Then enter your return URL - your website.
Please note that Paypal requires you to have some sort of text letting the user know that their transaction has completed.
Hope this helps.
Amarjit
When you are configuring or editing your button, you have the option under Step 3 to "Take customers to this URL when they finish checkout."
Using this, you can not only take them back to your website, but to a specific landing page. You can also designate different landing pages for each type of transaction.
Hope that helps.
ty