Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
100yen

Question Of Creating Paypal Button At Page 159 For Localhost Site

Recommended Posts

Hi, Larry. 

 

I stock in page 159 when I need to supply the 'cancel' and 'finish' URL after customer cancel or finish the transaction. Knowing that I work on this example store in my localhost mamp server, and I don't have SSL in the localhost server. What's the option under this situation? Can I supply http://localhost:8888/pdf_store/cancel.php ? or I will need to signup for a web host to do lesson in this chapter? 

 

Thank you

Share this post


Link to post
Share on other sites

Yeah, PayPal can't communicate with your localhost (without you taking a fair amount of effort to make that possible). You would either need to skip that component (and fake the end result), or acquire hosting.

Share this post


Link to post
Share on other sites

Hi, Larry. Here is update. I have applied for a dream host account and moved the tutorial project into the web host. So I can continue to follow the book.

 

The question for now is that do I required to sign up for a security certificate as well? Because in the figure 6.9 you used https to redirect the user, can I just use normal http instead of https?

 

Share this post


Link to post
Share on other sites

That surprises me a little, but thanks for sharing. Just to be clear, you would never want to do this for a live site. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...