Ulti Clocks content

Enable VirtueMart Paypal Notifications when Administrator folder is htaccess protected

sand Enable VirtueMart Paypal Notifications when Administrator folder is htaccess protected
paypal, order, notify, email, virtuemart, php, file, url, payment, htaccess, working, shop, form, number, database, change, automatic, configuration, ipn, paste, send, test, confirmation, customer, choose, received, protected, folder, administrator, notification, field, click, set, table, copy, sent, confirmed, invoice, dropdown, login

Home Références Testimonials

Sam

06





Paypal IPN email The IPN (Instant Payment Notification) works very well with VirtueMart but not if your administrator folder is correctly .htaccess protected.


To get it working is very simple, just make a new php file by opening your text editor and pasting these couple of lines below and saving it as notify.php. (You can call it anything you like actually).
 
<?php
include('administrator/components/com_virtuemart/notify.php');
?>
 

Then in your Paypal configuration file (Components->VirtueMart->Store->List Payment Methods->Paypal->Configuration) change the notify url to the correct path.
 
"notify_url" => SECUREURL ."notify.php",
 

This will call the native notify file, bypassing the .htaccess protection and allow the automatic confirmation of the order, send the customer email etc etc...

To test that everything is working make an order through your shop in the normal way but cancel out at the Paypal stage.

In your database look in the jos_vm_orders table for the the order_id that you just received in your email from the shop and copy the order_number, this will be in the form 96_3db3e8cc88c22858a4c9cae9ba4b2.

Go to your Paypal Sandbox - https://developer.paypal.com, login and choose the Test Tools link. Paste in the url to your new notify.php file and choose eCheck-complete in the dropdown.

The form will open further, you only need to change the currency, amount and paste in the order_number from the database into the invoice field of the form. Click send and you should get the payment confirmation email, the order will be set to confirmed and the email/s will be sent to the customer.

Paypal Sandbox IPN


Add this page to your favorite Social Bookmarking websites
Digg! Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! Slashdot! Technorati! StumbleUpon! Spurl! Newsvine! Furl! Fark! Yahoo! Netvouz! Mister-Wong! RawSugar! Ma.gnolia! Squidoo! DZone! Swik!
LAST_UPDATED2 Read : 3064 times
 
Comments (3)
location
3 Mardi, 23 Février 2010 15:33
Cheryl
I put it in the root folder and changed the PP IPN to that file and it seems to be working. I am using a paypal pro plugin too, by the way. Thank you for posting this. LIFESAVER!!

Cheryl
@Cheryl
2 Mardi, 23 Février 2010 14:59
GJC (admin)
Hi Cheryl,

Yep, in the root..
thank you!
1 Mardi, 23 Février 2010 14:50
Cheryl
This is exactly what I need. However, not sure where I place the new notify.php file? Does it go in the root?



Cheryl

Add your comment

BoldItalicUnderlineStrikethroughSubscriptSuperscriptEmailImageHyperlinkOrdered listUnordered listQuoteCodeHyperlink to the Article by its id
Very HappySmileWinkSadSurprisedShockedConfusedCoolLaughingMadRazzEmbarrassedCrying or Very SadEvil or Very MadTwisted EvilRolling EyesExclamationQuestionIdeaArrowNeutralMr. GreenGeekUber Geek
Your name:
Titre:
Comment:

Showcase

  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow
  • An Image Slideshow

Find a Domain Name!

Enter a domain name:

www.

Select an extension:

Select all
.com.net.org.info
.name.us.biz.eu
.co.uk.be.de.nl

Latest Joomla & VirtueMart Tips

See all tips & examples

Alexshop.de

News image

Private club based shopping site. 3 languages with full shop including "Back-end", order control, newsletter subscriptions and member invitations. Fully integrated "community" setup to include membership, newsletters, logins and...

Readmore

Midrangeint.com

News image

Midrangeint.com Multi-page site with Content Management System for an International IT Consulting company. Achieves top ranking search results for IBM Software Integration terms. e.g. Google results for "IBM system i"...

Readmore

Vandegaar.be

News image

Multimedia site for a Belgian stairways, doors and floors workshop. 4 languages with extensive photo galleries, flash animation and Quicktime 3D embedded views.

Readmore



Enable VirtueMart Paypal Notifications when Administrator folder is htaccess protected



Enable VirtueMart Paypal Notifications when Administrator folder is htaccess protected


paypal, order, notify, email, virtuemart, php, file, url, payment, htaccess, working, shop, form, number, database, change, automatic, configuration, ipn, paste, send, test, confirmation, customer, choose, received, protected, folder, administrator, notification, field, click, set, table, copy, sent, confirmed, invoice, dropdown, login