Comments for PayPal Pro module for VirtueMart

Develop PayPal Pro USA module for VirtueMart shopping cart

Return to main project page.

add your own

56 comments (oldest first)

leeschill 16 years ago link

lets get this started…i have a website to get up and running :)

Ben 16 years ago link

Hi scottux, it’s cool somebody’s started on this. I notice you’ve estimated you’re 20% done – could you upload some source snippets or screenshots or perhaps a brief plan of what you’re doing, just as evidence of your 20% estimate? This will help pledgers vote, and then of course you’ll get the partial payment. :-) All the best, Ben.

aravot 16 years ago link

I wanted to modify/add to description but I couldn’t changed it hence I am adding it here

What module should have and do.

Login: type in your company PayPal API Account Name here. To see your API Account Name, log into your PayPal Business account, choose ‘API access’ link in the ‘Profile’ section, and then click on the ‘API

Password: type in your PayPal Business account password here.

Certificate: type in the location of PayPal certificate file; the certificate should be downloaded from your PayPal account and placed on your website installation folder. To download the certificate, log into your PayPal Business account and choose ‘API access’ link in the ‘Profile’ section. Option to use API Signature instead of certificate.

Order prefix: this setting is useful if you have multiple online stores offering PayPal payments; specify a unique store prefix in this field to separate individual store orders on PayPal.

aravot 16 years ago link

Transaction type: specify whether you want PayPal Pro and PayPal Express Checkout to use ‘Sale’ or ‘ Authorization’ type of transactions.

Use ‘Sale’ type if your buyers’ orders are final (for example, if total costs of orders are complete with shipping, handling and tax charges). Transactions are considered to be your payments, and you expect no additional charges to the buyers. When the transaction is complete, the corresponding VirtueMart order is marked as ‘Processed’. Use ‘Authorization’ type if the total cost of orders at point of sale is not complete for some reason (such as unknown shipping charges) and you expect to capture funds after checkout is complete. You can then use PayPal Authorization & Capture to obtain payments. When the transaction is complete, the corresponding VirtueMart order is marked as ‘Queued’.

aravot 16 years ago * link

Transaction mode: specify whether you want to run PayPal Pro and PayPal Express Checkout payment methods in ‘Live’ or ‘Test’ mode. When running in test mode, PayPal Pro module uses PayPal development server to process PayPal transactions.

CVV/CVV2 - on/off option Credit card issue and expiration date

Please make the module compatible with upcoming VirtueMart 1.1 and VirtueMart 1.0.x series for current users.

xoxo 16 years ago link

Hi guys!

I have an virtuemart online shop in the states and I want to accept both paypal pro and paypal express checkout.

I hope I can accept payments from users that don’t have paypal accounts.

I hope this solution will be compatible with 1.0.13a and future 1.1.

Looking forward the result! :-)

leeschill 16 years ago * link

Hi aravot, I’ve signed up for Paypal Pro and one of the steps is to choose the following: Grant API Permission to your shopping cart or solution provider if the cart will make API calls on your behalf. OR Request API Credentials to create an API username and password for either your preintegrated shopping cart or a custom solution that you are developing.

which should I choose?

leeschill 16 years ago link

Could we get an update on the progress?

scottux 16 years ago link

Sorry for taking so long to reply. Things have been really hectic at work this week.

So far, I have the whole framework in place based on the samples from Paypal. I only have it set to use the API Signature right now. I will add in support for the certificate method as soon as feasible. Also it is missing the prefix option requested by aravot.

My hurdle right now is Express Checkout does not communicate with Paypal. The same code from the working sample will not work for me. I changed the filenames and variables where necessary to fit with virtuemart/joomla. It isn’t getting an ACK response at all. The error page shows but no errors are displayed. It may have to do with session handling. I am trying to debug it now.

I have some screenshots that I am posting to show that I am dredging forward. As of right now though, I have no functionality due to the snag with the curl request to paypal. It should all fall into place as soon as I realize what is happening there.

leeschill 16 years ago link

awesome. thanks for the update!

Ben 16 years ago link

Cheers for that, scottux. Certainly looks like you’ve done a fair bit of work – feel free to go ahead and do your progress estimate again if you want a progress payment. I’m guessing with what you’ve written above and with those screenshots people would be happy to vote 30% or something.

andrevmarques 16 years ago link

Let’s do it guys ! It’s a very very very important Module for the whole Joomla Community in USA !

Let’s go !

Thanks ! Andre - New Jersey

andrevmarques 16 years ago link

Mr. Scottux, please tell me about it….

What do you think about this Paypal Pro Module (commerce license ) at Joomla website: extensions.joomla.org/componen…

is that working fine ?

Thanks, Andre - New Jerey - USA

aravot 16 years ago link

@Andrevmarques, the PayPal Pro module you mentioned is commercial this one is GPL.

leeschill 16 years ago link

Hi Guys, Just touching base to see how things are progressing.

scottux 16 years ago link

Sorry for the delays again. I just uploaded my current progress. Express Checkout works - but the thank you for your order page is screwy. Direct Payment will be working soon. It doesn’t have all the options functional yet, but it is getting there. I really thought I would be done with this thing by now, but things keep coming up at work.

aravot 16 years ago link

Scott, no worries better working and bug free, than a rush release with full of bugs, keep up the good job.

xoxo 16 years ago link

Yes… aravot is right, there is no need for running! Take your time :-)

scottux 16 years ago * link

Direct payment is working. I am tidying up the code a bit to release it again. Express Checkout works, but the landing page is still buggy.

Also, I have only tested this in sandbox mode.

This version is for 1.1.

I will have to release a separate version for 1.0.x

leeschill 16 years ago link

How hard will the seperate version be? 1.0.x?

1.1 is in Beta correct? Why are we creating a module for a VM thats in Beta?

scottux 16 years ago link

I am hoping to have this released in the official 1.1 release. That and I already had a test server running 1.1.

I am working on making it 1.0 compatible now. I have sites running 1.0, but they are live sites that I can’t experiment with. I am setting up a 1.0 site for testing purposes.

scottux 16 years ago link

Direct Payment seems to work flawlessly in 1.0 using the code as is. Express Checkout is using some 1.1 only code to find the totals, because I built it on 1.1. It is taking some time to weed these specific functions out in order for EC to work on 1.0.

scottux 16 years ago link

I got the version for 1.0 working. I will upload when I get back from Best Buy. I still have the issue with the express checkout landing page in 1.1.

leeschill 16 years ago link

sweet. do me a favor and just post again when you’ve uploaded it. thanks!

scottux 16 years ago link

Okay, I have uploaded a working copy for virtuemart 1.0.

Ben 16 years ago link

Hi scottux, theoretically you’re supposed to upload “evidence” files with each new release, because pledgers can’t download non-evidence files until they’ve accepted your estimate. But I’ve been following this, and I’ve looked at your Beta 2 which looks pretty good, so I’ll vote that you’re done. :-)

scottux 16 years ago link

Okay, I made the last release public.

xoxo 16 years ago link

ops…. I use a virtuemart 1.0.13a with joomfish ad when I try to checkout with PayPal I have this message…

Fatal error: Call to undefined function: translatedcontentavailable() in /home/mydomain/public_html/components/com_joomfish/includes/joomfish.class.php on line 126

:-(

leeschill 16 years ago link

Sandbox problem. Setup a sandbox test environment which gave me a long expiration date, 2017, but the module only goes up to 2013. Can you tell me where I can adjust that?

aravot 16 years ago link

Scott maybe you should setup a support section in VM for this module.

scottux 16 years ago link

leeschill, 1.) The expiration date setting is somewhere in a virtuemart setting that I haven’t tracked down yet. It is the same for all payment modules.

2.) As long as the date is in the future, the sandbox doesn’t care what the actual date is.

xoxo, That has nothing to do with this module. There are support forums for joomfish that deal with this topic.

aravot, I will start a topic on the virtuemart forums about this module as soon as I get a chance, and also link to this page for others to download.

leeschill 16 years ago link

Thanks Scott. Must be something with the sandbox accounts. I just setup a penny product and used a live cc. Worked like a charm! Nice work.

scottux 16 years ago link

Cool! I haven’t been able to test with a live account yet. That’s good to know.

scottux 16 years ago link

I have made the release pledgers-only again, and instead uploaded screenshots as evidence of completion. Thanks Ben for clearing this up for me.

xoxo 16 years ago link

Thanks Scott for all your work.

I have noticed that I can’t use this module in my usa virtuemart shop because my merchant account is from spain… :-( I get an error in the final process “merchant country not supported”.

Thank you very much.

scottux 16 years ago link

xoxo, That is correct, your Paypal merchant account has to be US based, but you can accept payments from Spain. I am sorry that this won’t work for you. As soon as Paypal allows other merchant countries - I will definitely be making modules for them.

xoxo 16 years ago link

Hello Scottux,

Thanks for your answer and interest. I have test your module in my usa shop and the error is “merchant country not valid”.

I have tested in the spanish shop, and the quantity always is passed in dollars, not euros. If this could be modified, would be great…

Thanks!

xoxo

andrevmarques 16 years ago link

Hello Scottux !

I didn’t understand !

So, What’s now ?

What’s gonna happen with the Project ?

Let’s go foward ! What’s the next step to get this Module done ?

Thanks for answer me !

amirataha 16 years ago link

Thanks.Keep the good work :)

scottux 16 years ago link

Sorry guys, I had strep throat and then before I had a chance to recover fully, I got sent out of town for work. The only thing I am waiting on to move forward is a bug with the 1.1 version. Then some last minute testing and correcting. I am taking my laptop with me to Indiana for the holidays and will be working on finishing this up while I am there. I was worried that I was going to get pulled from the project, but it seems like I am still good to go on with it. I hope to be done for Christmas.

andrevmarques 16 years ago link

Mr. Scottux,

Don’t stop buddy…go foward buddy !

You have our pledge…..Don’t worry….Go Foward !

That’s very important for a lot of people !

Andre from New Jersey !
Take Care !

ivytony 16 years ago link

how to install this paypal pro module?

thanks

ivytony 16 years ago link

I have installed this module on my VM 1.0.3a but I have problem making it work correctly.

First, I don’t know how to show the paypal express checkout button on the check out page, please teach me how.

Second, I now can charge credit card on my website directly, but the order status remains pending after successful payment. I wonder if I need to modify the code in notify.php (public_html/administrator/components/com_virtuemart/notify.php) so that my VM can be notified by paypal of the successful payment and update the order status to ‘confirmed’.

I need your help so badly, because I have an online store to launch as soon as possible. Please help! Thank you!!

scottux 16 years ago link

Between the holidays and working 13 hour shifts, I haven’t had time enough to do much of anything.

In VM 1.0, you have to upload the shop.cart.php file In VM 1.1, the code has been separated, so you have to upload the shop.cart.php.tpl file.

Both files contain the same chunk of code for the Express Checkout button.

I haven’t had a problem with the status being changed, there is still some more testing that needs to be done.

I will upload a fully complete version with instructions for both VM versions as soon as I can. My job is really hectic.

ivytony 16 years ago link

thanks for the fast reply!

just wanted to let you know that express checkout button doesn’t work well for me who is using Joomla 1.0.13 and VM 1.0.13a. I followed your instruction to upload the shop.cart.php to the corresponding directory.

After I click on the express checkout button, I am redirected to paypal and asked to log in. But when I click ‘continue’, I am brought back to my site with the error message shown ‘Checkout There was an error connecting to Paypal!’

For successful credit card payment through paypal pro account, the order status still remains pending.

Thank you for your support and reply again! I really appreciate it.

Take care and happy new year!

cdiltz 16 years ago link

I’m trying to get this to work with GoDaddy hosting. Does anyone know off-hand what values I should be putting in for the proxy server or port? Right now when I go to check out it takes a while and then I get a blank page. Any ideas on the values or how to debug what’s happening (maybe get an error message)?

hdg 16 years ago * link

cdiltz: Check the error_log if you get a white screen.

I have a problem myself. A sandbox account works, but with a live account I get this on the final step:

**Error:

Error: Failure in Processing the Payment (ps_paypal_wpp)**

For some reason it’s not showing the first error, any ideas? Can’t figure out the problem without an error message.

cdiltz 16 years ago * link

hdg, thanks for the pointer. Unfortunately it sounds like you’re a step ahead of me so I can’t help you much.

Here are the errors I’m seeing in error_log:

PHP Notice: Use of undefined constant PP_WPP_EMAIL - assumed ‘PP_WPP_EMAIL’ in …/administrator/components/com_virtuemart/classes/payment/ps_paypal_wpp.php on line 310 PHP Notice: Undefined variable: order_number in …/administrator/components/com_virtuemart/classes/payment/paypal_lib/ps_paypal_wpp.functions.php on line 492 PHP Notice: Undefined index: tax_total in …/html/administrator/components/com_virtuemart/classes/payment/paypal_lib/ps_paypal_wpp.functions.php on line 498 PHP Notice: Undefined variable: product_tax in /…/administrator/components/com_virtuemart/classes/payment/paypal_lib/ps_paypal_wpp.functions.php on line 613

Any ideas?

hdg 16 years ago link

cdiltz: Did you remember to set the config options for the module? That is where you set the email.

ivytony 16 years ago link

I noticed that the snapshot picture of the configuration tab of this module shown here micropledge.com/projects/paypa… is different than what I have downloaded from above. Is this the reason why the module doesn’t work for me? where is the developer? thanks

scottux 16 years ago link

The snapshot was from earlier in development. I haven’t been able to test the proxy settings thoroughly because I have had no use for them. Please send me any info about the problems you are having and any error messages. I will work with you to sort it out.

I am still working on this module to make it as good as it can be, we should start a support thread in the virtuemart forum or something.

aravot 16 years ago * link
ivytony 16 years ago link

This project is not completed at all, as it is not working for almost everyone who wants to use it. Take at look at this thread at VM forums forum.virtuemart.net/index.php…

Ben 16 years ago link

Hi ivytony, note that all the pledgers as a group voted that scottux was done, so he was paid by microPledge. Probably the people that have got the module working simply haven’t posted questions.

I can’t answer for scottux, but note that he is quite busy, yet he has offered to help those having trouble.

I must admit, it does seem a tad on-the-nose to expect commercial-quality support from a product you’ve got for $1 … :-) Perhaps for such an inexpensive product you could help resolve some of the issues you and others are having, and post how-tos (or patches if necessary) to the forum. That’s often how open source projects work.

yofightit 16 years ago link

Please guide me, why I am getting this. It is successfully working on my server, and transactions are been sent to my paypal id. However, problem is that I donot receive any billing/shipping address alongwith transaction details. Please suggest, if I am missing something. I need this urgently, as I am not getting any addresses with transactions

Add a comment

Before you add a comment you must be signed up – it takes about 30 seconds. Sign up now.

Markdown formatting help:

Type thisTo get
*italics*italics
**bold**bold
[Brush](http://brush.co.nz/)Brush
* item A
* item B
* item C
  • item A
  • item B
  • item C