Forum Replies Created
-
AuthorPosts
-
Mark ChartierMember
I am also looking into this. Here is the PayPal link that explains it:
You can download the “PP_ExpressCheckout_IntegrationGuide_DG.pdf” that explains how to use this feature. It looks very streamlined.
From reading the info (and I am not the most advanced php man) it seems like you have to:
(This is all from page 21 of the above PDF)
1. Add the dg.js JavaScript (provided by PayPal) to the webpage on which you implement
the Pay With PayPal button. This script manages the PayPal digital goods payments flow.
This flow appears in a lightbox overlaying your webpage.
(This is my interjection – Where would we place this JavaScript code on our page?)
2. Place the Pay With PayPal button on the same webpage on which you add the dg.js
script.
3. When the buyer clicks Pay With PayPal, call the SetExpressCheckout API operation.
NOTE: Make sure that your API version is 65.1 or greater for each PayPal API call that
you make.
Pass details of the items purchased and other parameter fields required in digital goods
transactions. See “Setting Up A Digital Goods Payment Transaction” on page 22for
details.
4. A successful response returns a token to identify the digital goods transaction. You pass the token in subsequent Express Checkout API operations related to this transaction.
5. Redirect the buyer to the digital goods flow. Append the token returned in the
SetExpressCheckout response to the redirect URL.
If this is the first time the buyer is purchasing digital goods on your page, a mini-browser displays that lets the buyer log in to PayPal and initiate approval for the payment.
6. After the buyer clicks Pay to approve or cancel, PayPal redirects the buyer to the respective return or cancel URL page on your site. PayPal passes the token and the buyer’s Payer ID
with the redirect.
7. If the buyer approves payment, you can optionally call GetExpressCheckoutDetails
to obtain buyer details to display to your webpage.
8. If the buyer approves payment, call DoExpressCheckoutPayment to complete the
payment, including the details of the items purchased.
9. Add JavaScript code to your return and cancel URL pages to close the digital goods
lightbox.
10.Fulfill the buyer’s order from your webpage.
Download the digital goods and provide a purchase confirmation.
It would be great if you all could look into how we can integrate this with estore. This is very important for digital products.
February 18, 2012 at 10:03 pm in reply to: PDF Stamper, estore, paypal, multiple "add to cart" ebooks multiple files #42112Mark ChartierMemberReading some other posts.
I can manually stamp these two (241 & 235) page books in about 20 seconds. So I do not believe that it is a PayPal script time out problem.
February 18, 2012 at 9:39 pm in reply to: PDF Stamper, estore, paypal, multiple "add to cart" ebooks multiple files #42111Mark ChartierMemberok… I have done much testing and this is what I have found so far.
I AM able to “add to cart” TWO books, purchase them and I am emailed the download links for both ebooks. GREAT!
The problem I am narrowing it down to is any PDF that has a larger page count does not work at all.
PDF “Size” does not seem to be a problem. I can buy a 1,400 KB file fine. (137 pages)
When I try to buy a book (Separate or together)that is 477 KB (241 pages) or 616 KB (235 pages) it will not come through the e-mail. (These are two that I tested that did not work)
The strange thing is, if I modify the item that is NOT working and paste in the “Digital Product URL” of a smaller book, all of a sudden I get an email with the new (smaller) file. However many times I paid for it, they all come through now, stamped just fine. (But it is the smaller new book that I pasted into the “Digital Product URL” of the item)
Is there a PAGE limit that the PDF stamper can handle? I have read where their was NOT a size limit problem.
Also the funny thing is, I can MANUALLY stamp any of these (Larger file) books, and they work just fine. They will just not work when I purchase them and have them mailed to me.
Mark ChartierMemberHello Increaser,
I want to do the exact thing you are saying. I love the shopperpress theme, but I love the Tips and Tricks pdf stamper.
My question is, can you explain in a bit more detail how you do this.
I believe that the
“option for a “Buy Now” custom link with redirection enabled or disabled.
This allows to create a custom payment link for each product.”
you are talking about is under the individual product options, under the Affiliate Data tab.
I can see where to enable the Redirect, my question is how do you get them to pay with PayPal and then the pdf stamper grab the correct pdf, stamp it, secure it, and either give them an instead download link, or email on to them?
If you could give a few more steps I would appreciate it. I’m sure others will as well.
Thanks,
Mark
-
AuthorPosts