Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal standard payment module ,does not email the product keys


furhead

Recommended Posts

Sho, ---- using Osc 2.3.1

 

Let me first explain the problem - i am not able to send the product keys (they are virtual products) to the customers email ,when i use paypal standard or any other payment module that has its own email defined at - includes/modules/payment/paypal_standard.php (same goes for other payment modules as well) but it works nicely when the main checkout_process.php files is used to send the email (ie paypal express,money order, etc that use the main checkout_proucess.php to send the confirmation email.

 

Some screenshots to make this a lil clear - :-"

 

ermyU.pngYUpvh.png

 

 

I have done this by taking a pretty old module from here - http://addons.oscommerce.com/info/3883 , what this addon does is allows you to sell product/licence/phone cards etc... and those product keys are sent in a sequence to the customers email (also available on his accounts history) ,ofcourse after the payment is confirmed .

 

All of this is achieved by hooking the product keys in the form of a attribute .

 

Here is a pastebin link to of my paypal_standard.php file ,parts that have been changed of added have the initials of #pin change - http://pastebin.com/KfBGM3xW

 

Once i am done with this addon i am letting it out in the addons section with some facelift and adding a image upload feature(so that images can be sold or send to the customers as well (since none of the addons do what this addon does - or maybe its the best i have found so far )

 

LLOsc........

Link to comment
Share on other sites

Through the codes being send to the email when using paypal standard and other gateways that have their own cofirmation email template ... (codes are sent along with all the cofirmation irrespective of the payment module used) :devil:

 

Now working on showing in the codes in the checkout and success page (again the problem is only with paypal standard and other gateways that have their own cofirmation email template) ..............If anyone wants this addon please lemme know. Once this is done i'll be releasing it for the community.

Edited by furhead
Link to comment
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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...