Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreModify the Query String passed to Paypal from DNNModify the Query String passed to Paypal from DNN
Previous
 
Next
New Post
10/22/2006 12:52 AM
 

Ok Chiefs,

If any of you are watching help is really the first thing on my list, I did not want to screw up any code so this is what i did in sequence,

After searching here for a while i managed to find the paypalsubscription.aspx.vb file where i found these lines.



strPayPalURL = ""

strPayPalURL += "https://www.paypal.com/xclick/business=" & HTTPPOSTEncode(strProcessorUserId)

strPayPalURL += "&item_name=" & HTTPPOSTEncode(HTTPPOSTEncode(PortalSettings.PortalName) & " - " & Format(objRole.RoleName) & " ( " & Format(objRole.ServiceFee, "0.00") & " " & HTTPPOSTEncode(PortalSettings.Currency) & " )")

strPayPalURL += "&item_number=" & HTTPPOSTEncode(intRoleId.ToString)

strPayPalURL += "&no_shipping=1&no_note=1"

strPayPalURL += "&quantity=1"

strPayPalURL += "&amount=" & HTTPPOSTEncode(strService)

strPayPalURL += "&currency_code=" & HTTPPOSTEncode(PortalSettings.Currency)


What I want to do it very simple.

1. I want to pass the product name of description in the 'item_name'
2. I want to pass all address fields into paypal coz it does not make sense to make the customer enter the Shipping/billing info again after entering in DNN.

Therefore i tried to take this code and replace,

"&item_name="
& HTTPPOSTEncode(HTTPPOSTEncode(PortalSettings.PortalName) & " - " & Format(objRole.RoleName) & " ( " & Format(objRole.ServiceFee, "0.00") & " " & HTTPPOSTEncode(PortalSettings.Currency) & " )")

with

"&item_name=" & Testing & " )")

But nothing seems to appear on the paypal side. Is there anything I am missing, do i have to compile or recompile anything or refresh anything?

The next thing I need to do is to ensure that I am passing all the address fields, any ideas what I need to append to the above query string to do that?

Many many thanks in advance.

Rgds,

Dancechic

 
New Post
10/25/2006 10:39 PM
 

ok i managed to solve this,

thanks to all those who contributed to the following post

 

http://www.dotnetnuke.com/DotNetNukeProjects/ModuleStore/Forums/tabid/904/forumid/115/threadid/68286/scope/posts/Default.aspx

 
New Post
10/26/2006 12:55 PM
 
Glad to be of service!
 
New Post
10/31/2006 1:29 PM
 
Hey there Dancechic,

I hate to ask, but would you be willing to share your updated dlls? :)  The store of our non-profite support organization is disabled pending the release of the next store verion where we can actually track what was purchased and fulfill orders.

If you'd like to discuss or send the file(s), my email is aaront @ twinlesstwins . org

Thanks!
 
New Post
10/31/2006 8:28 PM
 
Sure not a problem Chief, i havent done as much as i wanted like i wrote on top, but i managed to work around it, here is what i have done, I managed to comment the string that shows the item no, since the export $$ number from dnn shows total amount it dont make sense when customer sees the item no of 1 item.

I have Changed the cart name such that its generic to what I want, you will soon get to see it in action at www.dancechic.com in a few weeks when i upload on the live server.

the files are at http://www.danceunlimited.sg/dll/debug.zip let me know if the download works.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreModify the Query String passed to Paypal from DNNModify the Query String passed to Paypal from DNN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out