Question

I'm currently integrating the Paypal Express Checkout gateway in one of my website. I'm using the .NET Paypal SDK (NUGET/Visual Studio 2013). I read Paypal's documentation and followed their guidelines and examples. I was able to get it working (after a little trial and error). But, the thing is, i'm not sure that my flow of operation is optimal. Let me explain the flow:

1) Customer logs in to the website

2) Customer chooses a Monthly plan to advertise on our website and click the paypal button (API CALL: SetExpressCheckout).

3) Customer is redirected to Paypal login page. Enter credentials and logs in.

4) Customer (still on Paypal page) reviews buying informations and clicks 'Continue' button (or Cancel link)

5) Customer is redirected to a Confirmation/Success Callback page on my website (API CALL on pageLoad event: GetExpressCheckoutDetails).

6) Customer (still in Confirmation Callback page) clicks an 'Accept transaction' button (or a cancel button). (API CALL: DoExpressCheckout)

7) Payment is processed and Paypal sends last payment details (status Completed, Pending, etc) to my Instant Payment Notification Callback URL on my website.


Now, the thing is, i've recently bought a digital album on Bandcamp and their flow was different at one part and more concise, and well, more 'express' than mine:

1) Customer clicks Name you price link. A modal opens.

2) Customer enters the amount and clicks the 'Checkout now' button.

3) Customer is redirected to Paypal login page. Enter credentials and logs in.

4) Customer (still on Paypal page) reviews buying informations and clicks 'PAY' button (or Cancel link)

5) Customer is redirected to a Confirmation/Success Callback page Bandcamp website. Payment is already processed and nothing more is asked of the customer.

So the question is how do change the 'Continue' button on Paypal to a 'Pay' button? I can't seem to find my way on Google to answer this question, nor do i see this flow in my documentation?...

Note that these are both digital goods and no shipping is required.

Thank you!

Was it helpful?

Solution

When redirecting to PayPal add useraction=commit to the URL:

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&useraction=commit&token=<TOKEN>

or

https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&useraction=commit&token=<TOKEN>

A similar question was asked just a few days ago: Here If you want a more detailed answer you are going to have to post the part of your code where you redirect users to PayPal.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top