Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Dynamic Selection of PayPal Payment Method
Last Post 02-03-2011 02:50 PM by brightspectrum. 6 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
brightspectrumUser is Offline
skipping stones
skipping stones
Posts:13
Avatar

--
02-02-2011 09:07 PM
    I'm totally convinced that this is not possible but I've been banging my head on my desk for hours trying to work it out. I figured I might as well ask the community.

    Here's what we want to do.

    My client offers two different methods for payment through PayPal, one-time donations and several subscription donations options, which they want it all in one form.   I have the form created and have all of the right events taking place, this part works great.  The issue is that in the PayPal Gateway dialog you can only choose one payment method or the other and then it hard codes the cmd argument (either _donations or _xclick-subscriptions) as the first argument in the querystring. Thus, making it so that I cannot change the payment method on the fly dependent on the users payment selection.

    I've tried creating a dynamic field and adding that value to a new cmd argument at the end of the querystring, but of course that breaks because that is basically passing 2 cmd arguments to PayPal.

    I thought about using the HTTP POST method, but that is a silent post so that won't work. Even if it did, I would then lose all the response functionality that the Gateway section provides. 

    Any ideas?


     

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    02-03-2011 10:10 AM
    Hi Bright,

    I checked with our chief developer and we don't have a way to make the cmd argument change based on user response, either. As an alternative, you might want to do subscription on one page, offer a checkbox with "I want to make a donation, too." Then create a redirect to another DF page for the donation only if they mark the checkbox. That would give it a "continue" feel rather than a separate event.

    Hope that helps!
    Candace
    brightspectrumUser is Offline
    skipping stones
    skipping stones
    Posts:13
    Avatar

    --
    02-03-2011 10:17 AM
    They are all donations just different types of donation.We did seperate forms the first go around but that isn't what the customer wants. Is there anyway to stop the cmd argument from being placed automatically in the querystring?
    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    02-03-2011 10:43 AM
    From your description, it doesn't sound like you need to switch between CMDs, you just need to make different kids of donations (like 1-time or recurring). Is this correct?

    If this is the case, then you can just modify the parameters sent to PayPal but using the a3, t3, and p3 variables. See p17 of this PayPal document:

    https://merchant.paypal.com/cms_content/US/en_US/files/merchant/PayPal_Political_Campaigns_Get_Started_Guide.pdf

    Let's say you have a field called Amount and then you have a radio button that says either 1-time payment or recurring monthly for 12 months.

    In the radio button options, you can use this in Option Value for the 12 month recurring: &a3=$(Amount)&t3=M&p3=12. Then in the PayPal parameters, use the $(RadioButton) token within the parameters box along with the &first_name=$(FirstN)... etc.

    Let me know if that works for you. Thanks!

    Candace
    brightspectrumUser is Offline
    skipping stones
    skipping stones
    Posts:13
    Avatar

    --
    02-03-2011 11:14 AM
    Actually you're incorrect. The p3, a3, t3 and even the amount parameter can be passed during any type of transaction, however a3,p3 and t3 are only recognized or considered when the transaction is the xclick-subscription type (recurring transaction/donation) this is the cmd value. The cmd variable passed in the querystring identifies the transaction type in every aspect of dealing with PayPal's interface. DF currently hardcodes this value at the beginning of the string when you select the type of transaction that you wish to use from the dropdown menu, this is why we have to start the 'paypal parameters' section with a '&' symbol. This is the core of my problem/question.

    Instead of having a single transaction type I want to be able to choose weather or not this a simple donation (cmd=_donation) or a recurring donation (cmd=_xclick-subscription). Is there a place in the database or anywhere in the code (without source) to remove this value?

    Thanks
    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    02-03-2011 12:22 PM
    Well, at this time, that's not an option available in Dynamic Forms with the way the module is designed. The only way we can offer is to use the a3, p3, t3 as I mentioned. You can use the same to make it a one time payment by making p3=1 instead of p3=12 to achieve a similar result.

    Otherwise, you can purchase the source code or we customize it for you with Premium Support.
    http://www.datasprings.com/support/...rt-options

    Please use the Contact Us Form if you want to proceed with any of these 2 options. Thanks!

    Candace
    brightspectrumUser is Offline
    skipping stones
    skipping stones
    Posts:13
    Avatar

    --
    02-03-2011 02:50 PM
    Sorry but what your suggesting would charge a recurring payment every single day, the p3 value is "time period between charges" not how many times you're going to charge the card, it states that pretty clearly in the documentation that you provided on page 7. There is no way to set a recurring payment to only charge one-time.

    Sounds like it just doesn't work, oh well, might have to custom code something else.

    If it would be possible to have your team consider something to handle this type of situation for future builds, that would be very helpful, we are moving a number of our non-profit customers to this platform and I was looking forward to using DF for those as we have on other sites, but would run into the same problem.

    Cheers and Thanks for your help!
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
     
     
       
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi