Payment processing in cartridge

149 views
Skip to first unread message

Dani Lopez

unread,
Jun 18, 2013, 8:23:20 PM6/18/13
to mezzani...@googlegroups.com
Hi,
I am trying to make a marketplace site and I am trying to implement a paypal payment processor.

So far I have looked in every possible site and there is no documentation for the one included in cartridge. I have also tried and failed to use this ones that i found in the list and in github:




I'm sure that there are someone here that has implemented it.

Can anyone help me? if I achieve this I promise I will write a tutorial for beginners like me to do it.

Thanks

Ken Bolton

unread,
Jun 18, 2013, 8:31:47 PM6/18/13
to mezzanine-users
Hi Dani,

The one in cartridge is documented at http://cartridge.jupo.org/integration.html#payment.

best,
ken


--
You received this message because you are subscribed to the Google Groups "Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Dani Lopez

unread,
Jun 19, 2013, 2:49:01 AM6/19/13
to mezzani...@googlegroups.com
thank you so much but I am basically at the same point as before I have configured the paypal user ,password and signature with a sanbox account but I can't get it working, when I try it it gives me incorrect card number so anyone knows if it is neccessary to use a real card even with the sandbox account.

Also I am looking towards to implement the paypal express checkout because I don't want to handle credit card numbers directly, has anyone used some solution to integrate it ( I have tried django-paypal without luck :(  )

Best,

Dani

Ken Bolton

unread,
Jun 19, 2013, 7:52:50 AM6/19/13
to mezzanine-users
When you create a development sandbox account, PayPal provides you with dummy credit card data to use for testing. Real CC data will fail against the sandbox!

Express checkout has been discussed on this list before. If you need it, write it!

hth,
ken

Dani Lopez

unread,
Jun 19, 2013, 7:47:28 PM6/19/13
to mezzani...@googlegroups.com
I have achieved to have working the paypal processor I leave here the steps I made if some noob like me needs the info:

Simply add to settings.py the fields:
    SHOP_HANDLER_PAYMENT = "cartridge.shop.payment.paypal.process"

   PAYPAL_USER = "YOUR PAYPAL API USER"
   PAYPAL_PASSWORD = "YOUR PAYPAL API PASS"
   PAYPAL_SIGNATURE = "YOUR PAYPAL API SIGNATURE"

Then you need to create a new paypal sandbox account. There paypal gives you dummy CC data (in my case that didn't work so I used this)

You have to specify the country code in the shipping address (in my case ES for Spain)

Hope this helps someone :)

 
@Kenneth Bolton You are right, thank you for the help but I wish I knew how to write it... 

Now I am giving a try to django-paypal-adaptive

Best,

Dani
Reply all
Reply to author
Forward
0 new messages