Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pay to download setup & IPN test result


cutiesweetie

Recommended Posts

Hi All,

 

attached is my setup for pay to download & IPN. and my paypal test result via paypal sandbox.

 

i have questions and hope any of you can give me some pointer.

1. Buyer make a payment via paypal sandbox

2. Seller got a payment notification from paypal sandbox.

 

what i need to do next as a seller so that buyer can download the digital product she purchased & paid?

 

Below is my setup & test result. thanks.

 

1. Paypal IPN setup in ADMIN -> Payment Module

ipn1i.jpg

ipn2b.jpg

 

2. Admin -> Download

downloadx.jpg

 

3. GZip Compression

gzipcompressionl.jpg

 

4. Product Attributes for digital product called "Product 1"

productattributesc.jpg

 

5. "Product 1" at front end

digitalproductu.jpg

 

6. I have set the "Download" & "Pub" folder to permission 777

 

7. The digital file named "2004218.zip" is uploaded to "download" folder. and file name "2004218.zip" is specify at product attributes as in image 4 (above)

 

8. Buyer purchase the "Product 1" and make payment via paypal sandbox.

buyermakeapaymenth.jpg

 

9. Seller got a payment for "Product 1" from paypal sandbox

sellergotapaymenti.jpg

 

Then I got stuck here.... What am i suppose to do in order buyer can download the digital product she paid?????

 

anyone can help & explain to me? thanks!!!!!!!!!!

Link to comment
Share on other sites

After payment client can download the file from order history page.

 

if you are using the PayPal IPN you will need to add extra code to check the payment status for downloads, as most of times client can download the product without purchasing it.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

After payment client can download the file from order history page.

 

if you are using the PayPal IPN you will need to add extra code to check the payment status for downloads, as most of times client can download the product without purchasing it.

 

may i know where can i get the code? and add to where?

 

and you said 'as most of times client can download the product without purchasing it', Does it means that my setup is wrong? what should i do now??

Link to comment
Share on other sites

may i know where can i get the code? and add to where?

 

and you said 'as most of times client can download the product without purchasing it', Does it means that my setup is wrong? what should i do now??

 

i believe there is a vulnerability with OSC and if you check the contribs you will find a patch for it. customers can skip a section in the checkout by typing in the direct URL ??? i think!

should be an easy fix.

Thanks in advance!

 

Ben

Link to comment
Share on other sites

i believe there is a vulnerability with OSC and if you check the contribs you will find a patch for it. customers can skip a section in the checkout by typing in the direct URL ??? i think!

should be an easy fix.

not really... the above statement is not true!

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

Ic. so what should i do now????

 

hi all expert!,

 

i have tested and after buyer paid and I (seller) changed the order status from preparing IPN -> Processing -> delivered. and then buyer go to order history, and click on the "download link" for the product, but it is a BLANK PAGE. NOTHING TO DOWNLOAD!!!

 

Pls refer to the screen shot below.. anyone can tell me what happend??? PLEASEEEEEEEEEEEEEEEEEEEEEEEEEE :( :( :( :(

 

order history

orderhistory.jpg

 

Download link

downloadlink.jpg

Link to comment
Share on other sites

hi all expert!,

 

i have tested and after buyer paid and I (seller) changed the order status from preparing IPN -> Processing -> delivered. and then buyer go to order history, and click on the "download link" for the product, but it is a BLANK PAGE. NOTHING TO DOWNLOAD!!!

 

Pls refer to the screen shot below.. anyone can tell me what happend??? PLEASEEEEEEEEEEEEEEEEEEEEEEEEEE :( :( :( :(

 

order history

orderhistory.jpg

 

Download link

downloadlink.jpg

 

any can help???

Link to comment
Share on other sites

for every product you need to create the file option including the actual file.

 

before allow the download from your store using php language you can check the order status if the order is complete show the link to the client to download the file.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...