Paypal summary of purchase info/Force Input

Apr 9, 2010 at 2:24 AM

I just installed the latest stable version of NB_Store. I have everything setup and added the PayPal.gateway. I ran a test using a Test Product for a  Dollar and successfully went through to the Paypal site. However the purchase only said it was for Item5.

1. Is there a setting to pass through the product name or summary like if I were using the Paypal Cart Button? Modifying the gateway perhaps?

2. Is there a way to force users to fill out the purchase form as non DNN users? I turned off minumum validation but it still doesn't force any fields.

3. I have found French dispersed throughout the templates, Including the cart, minicart, product templates and lists.

Thanks in advance.

 

 

Apr 9, 2010 at 8:12 AM

Hi,

The paypal provider is setup to just send a single amount to palpay for payment and then to return.

However there is scope build in to pass additional parameters...using the paypalurl node...

<paypalurl>
          <cmd>_xclick</cmd>
          <bn>NBStore</bn>
          <quantity>1</quantity>
          <undefined_quantity>0</undefined_quantity>
          <no_note>1</no_note>
          <no_shipping>1</no_shipping>
          <first_name>[OrderUser:FirstName]</first_name>
 </paypalurl>

have a look at the read.txt in the paypal provider package.

 

If you turn off minimum validation then the Name,Street, Postal Code and city should be forced to be entered.

 

The French in the templates...Ahhh!!!....I though I'd got them all, obviously I missed some, I'll have to have a go through it again for the next release.

Regards,

Dave.

 

 

Apr 9, 2010 at 5:01 PM

Dave,

I read the readme and modified the PayPal.Gateway and it works great.

Is the paypal provider open source? Is the provider limited because PayPal's api is limited?

I have the cart working nicely as an event registration payment gateway.  Check it out.

http://wateringseeds.com/eventregistration.aspx

http://www.wateringseeds.org (Soon to be converted to DNN)

Thanks for your help.

Tom

 

 

 

 

Oct 4, 2010 at 11:12 PM

Sorry to bump an old thread, but I couldn't find a good resource to explain what those new parameters in Dave's example did or what additional parameters could be used.

Instead of the bulk description, I want to modify my gateway to show some identifying text (Model Ref, Model name, etc.) and a quantity for every item ordered.

I thought this link on customizing the order page would be helpful, but it doesn't actually explain passing parameters. Looking at the NB_Store documentation, none of the tokens jump out at me, either.
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECCustomizing 

Thanks

 

Oct 5, 2010 at 8:21 AM

Hi,

I don;t think your going to get detail items working with this gateway provider.  Bascially it's been designed to simply pass a total amount to paypal, the idea being the order details are displayed on the NB_Store side of things.  The extra params stated above can be used to pass things like client name and address.  This gateway provider for paypal supports only url based method, I'm not even sure if item detailed is supported with the url method (I don;t think so!).

Anyway if you need to get item detail working you'll have to write your own gateway provider for paypal, perhaps one that uses the paypal api rather than the url method.  Have a look at these documents if your going down that root.

http://nbstore.codeplex.com/wikipage?title=Devlopers%20Guide&referringTitle=Documentation

Regards,

Dave.