[Workshop] registration for Wuhan meeting
Gaurav Walia
gwalia at igs.org
Sun Jul 1 04:33:51 PDT 2018
Testing is being conducted by LOC and their staff so we should await their
go ahead. We should at least provide some guidance in the workflow when
the interface is ready in the final stage.
Gaurav
From: "Craddock, Allison B (335N)" <Allison.B.Craddock at jpl.nasa.gov>
Date: Wednesday, June 27, 2018 at 5:49 PM
To: Susan Jeffries <jeffries at unavco.org>
Cc: Charles Meertens <chuckm at unavco.org>, Gaurav Walia <gwalia at igs.org>
Subject: Re: registration for Wuhan meeting
Susan,
> On Jun 21, 2018, at 12:06 PM, Susan Jeffries <jeffries at unavco.org> wrote:
>
>
> So what I need at this point is...
>
> (1) Igs email for receipt. Who wants this?
>
>
You can put in ³workshop2018 at igs.org² for now, and I will check with
Jianghui to see if something works better for the LOC.
> (2) The confirmed url of the registration form once you are ready to go live.
> For security purposes I will enter this as a forwarding url.
>
> (3) Let me know when you are finished testing the payment process. I will
> need to move it from TEST mode to LIVE mode.
>
>
Hopefully Gaurav will have his testing finished soon - I would like it if we
can open up registration on July 1.
Thanks again for your help!
-Allison
> Susan
>
> On 6/21/2018 12:49 PM, Charles Meertens wrote:
>> Thanks for the update Allison!
>> Chuck
>>
>> Charles Meertens
>> Director
>> UNAVCO Geodetic Data Services
>> meertens at unavco.org
>> http://www.unavco.org <http://www.unavco.org/>
>> Office: 303-381-7465
>> 6350 Nautilus Dr.
>> Boulder, CO 80301
>>
>>> On Jun 20, 2018, at 4:31 PM, Craddock, Allison B (335N)
>>> <Allison.B.Craddock at jpl.nasa.gov> wrote:
>>>
>>> Hi Chuck,
>>>
>>> Please see my recent email to Jianghui regarding his recent requests. I
>>> believe our current setup should fulfill the needs of the LOC; I¹m waiting
>>> on Gaurav to give it his final blessing.
>>>
>>> Susan, do you need anything else from us? Thanks again for your help with
>>> this!
>>>
>>> Allison
>>>
>>> Sent from my iPhone
>>>
>>> On Jun 21, 2018, at 12:07 AM, Charles Meertens <chuckm at unavco.org> wrote:
>>>
>>>> Hi Gaurav and Allison,
>>>> How is this going? We are hoping that this all gets wrapped up soon.
>>>> Chuck
>>>>
>>>> Charles Meertens
>>>> Director
>>>> UNAVCO Geodetic Data Services
>>>> meertens at unavco.org
>>>> http://www.unavco.org <http://www.unavco.org/>
>>>> Office: 303-381-7465
>>>> 6350 Nautilus Dr.
>>>> Boulder, CO 80301
>>>>
>>>>> On Jun 19, 2018, at 12:48 PM, Susan Jeffries <jeffries at unavco.org> wrote:
>>>>>
>>>>> To recap...
>>>>>
>>>>> The web server that is hosting your registration form needs to post fields
>>>>> to Paypal. We typically use a simply html page to do this. A sample code
>>>>> is shown below. I have our Paypal site set up in TEST mode right now.
>>>>> Here are the screenshots of what the process looks like. I still need an
>>>>> email address where Paypal will send your receipts. Also, once you go
>>>>> live with your official registration form, I will need that url. I will
>>>>> then move the Paypal process from TEST to LIVE.
>>>>>
>>>>> If you visit
>>>>> https://register.unavco.org/public/meetings/2018/wuhan/payment.html it
>>>>> should allow you to test this out. Use the VISA number 4111111111111111
>>>>> along with 10/2018 as an expiration date. It is in test mode and this
>>>>> should go through using any name, address. Use your email address to
>>>>> receive the receipt.
>>>>>
>>>>> Susan Jeffries
>>>>>
>>>>> My code sample. This page should probably run on the same web server in
>>>>> which your registration form runs.
>>>>>
>>>>> ******************************
>>>>>
>>>>> <html>
>>>>> <head>
>>>>> <script type="text/javascript">
>>>>>
>>>>> function getQueryVar(varName) {
>>>>>
>>>>> var queryStr = unescape(window.location.search) + '&';
>>>>>
>>>>> var regex = new RegExp('.*?[&\\?]' + varName + '=(.*?)&.*');
>>>>>
>>>>> val = queryStr.replace(regex, "$1");
>>>>>
>>>>> return val == queryStr ? false : val;
>>>>> }
>>>>> function doit() {
>>>>> var var1 = getQueryVar('id1');
>>>>> //alert (var1);
>>>>> //var var2 = 'test';
>>>>> //var textbox = document.getElementById('NAME');
>>>>> //var textbox = document.getElementsByName('NAME')[0]
>>>>>
>>>>>
>>>>> }
>>>>>
>>>>> function SetValue() {
>>>>> var var1 = getQueryVar('id1');
>>>>> document.getElementsByName('NAME')[0].value = var1;
>>>>> var var2 = getQueryVar('id8');
>>>>> document.getElementsByName('AMOUNT')[0].value = var2;
>>>>> var3 = getQueryVar('id2');
>>>>> document.getElementsByName('ADDRESS')[0].value = var3;
>>>>> var4 = getQueryVar('id3');
>>>>> document.getElementsByName('CITY')[0].value = var4;
>>>>> var5 = getQueryVar('id4');
>>>>> document.getElementsByName('STATE')[0].value = var5;
>>>>> var6 = getQueryVar('id5');
>>>>> document.getElementsByName('COUNTRY')[0].value = var6;
>>>>> var7 = getQueryVar('id6');
>>>>> document.getElementsByName('ZIP')[0].value = var7;
>>>>> var8 = getQueryVar('id9');
>>>>> document.getElementsByName('CUSTID')[0].value = var8;
>>>>> var9 = getQueryVar('id7');
>>>>> document.getElementsByName('EMAIL')[0].value = var9;
>>>>> var10 = getQueryVar('id10');
>>>>> document.getElementsByName('PHONE')[0].value = var10;
>>>>> document.form1.submit();
>>>>> }
>>>>>
>>>>> </script>
>>>>> </head>
>>>>> <BODY onload="SetValue();">
>>>>>
>>>>> <script type="text/javascript">
>>>>>
>>>>> </script>
>>>>>
>>>>> <form name="form1" method="post" action="https://payflowlink.paypal.com"
>>>>> <https://payflowlink.paypal.com/> >
>>>>> <input type="hidden" name="LOGIN" value="2530jdavis">
>>>>> <input type="hidden" name="PARTNER" value="VeriSign">
>>>>> <input type="hidden" name="AMOUNT">
>>>>> <input type="hidden" name="TYPE" value="S">
>>>>> <input type="hidden" id="NAME" name="NAME" />
>>>>> <input type="hidden" name="ADDRESS" />
>>>>> <input type="hidden" name="CITY" />
>>>>> <input type="hidden" name="STATE" />
>>>>> <input type="hidden" name="COUNTRY" />
>>>>> <input type="hidden" name="ZIP" >
>>>>> <input type="hidden" name="EMAIL" >
>>>>> <input type="hidden" name="CUSTID" >
>>>>> <input type="hidden" name="METHOD" value="CC">
>>>>> <input type="hidden" name="COMMENT1">
>>>>> <input type="hidden" name="INVOICE">
>>>>> <input type="hidden" name="ORDERFORM" value="True">
>>>>> <input type="hidden" name="SHOWCONFIRM" value="False">
>>>>> <input type="hidden" name="ECHODATA" value="True">
>>>>> <input type="hidden" name="PHONE">
>>>>> <input type="hidden" name="EMAIL">
>>>>> </body>
>>>>> </form>
>>>>> ******************************
>>>>>
>>>>> <ejljbgicinhdenpj.png>
>>>>>
>>>>>
>>>>>
>>>>> <ccpldedhejkcpbok.png>
>>>>>
>>>>> <adcalkbaajfmieeo.png>
>>>>>
>>>>>
>>>>>
>>>>> On 6/18/2018 6:19 PM, Gaurav Walia wrote:
>>>>>> Good Morning Susan,
>>>>>>
>>>>>> The attached code below loads up as a blank page. Unsure if that is what
>>>>>> is intended. I might be missing the working steps.
>>>>>>
>>>>>> Is this the correct understanding:
>>>>>> 1. LOC uses http://igsworkshop2018.gnsswhu.cn/index/register.do
>>>>>> 2. That form passes the values through the attached code below which is
>>>>>> the intermediary to paypal.
>>>>>> 3. Where
>>>>>> https://register.unavco.org/public/meetings/2018/wuhan/payment.html
>>>>>> completes the final transaction?
>>>>>> If so:
>>>>>> * I would need the string construct documentation so that they can pass
>>>>>> the payment information securely to PayPal.
>>>>>>> * https://register.unavco.org/public/meetings/2018/wuhan/payment.html
>>>>>>>> * Takes in the parameters passed through item 1.
>>>>>> Thanks,
>>>>>>
>>>>>> Gaurav
>>>>>> From: Susan Jeffries <jeffries at unavco.org>
>>>>>> Date: Sunday, June 17, 2018 at 10:51 AM
>>>>>> To: Gaurav Walia <gwalia at igs.org>
>>>>>> Cc: "Craddock, Allison B (335N)" <Allison.B.Craddock at jpl.nasa.gov>
>>>>>> Subject: Re: registration for Wuhan meeting
>>>>>>
>>>>>> Gaurav,
>>>>>>
>>>>>> Based on the email that Chuck sent with the link to the registration
>>>>>> form, (http://igsworkshop2018.gnsswhu.cn/index/register.do), I think it
>>>>>> would be best if they post their form to a page similar to this
>>>>>> one...https://register.unavco.org/public/meetings/2018/wuhan/payment.html
>>>>>> . The code for this page, payment.html, can be copied and edited and put
>>>>>> on their website OR they can point to our server. The code of this page
>>>>>> is below. This page will simply take the registration form fields and
>>>>>> push them along to Paypal. Once the payment is processed it will return
>>>>>> to this url, http://igsworkshop2018.gnsswhu.cn/index. I made a guess
>>>>>> here since I haven't heard anything definitive yet. I also need an igs
>>>>>> email in which to send the payment receipt.
>>>>>>
>>>>>> This payment processing is now in TEST mode. If you use the VISA number
>>>>>> 4111111111111111 you can test the process with a success.
>>>>>>
>>>>>> Susan Jeffries
>>>>>>
>>>>>> New simplified code. Note this doesn't entail a shopping cart. It
>>>>>> simply pushes a total amount due, purchaser name, country and email to
>>>>>> Paypal. The other fields, address, city,etc are optional.
>>>>>>
>>>>>> <html>
>>>>>> <head>
>>>>>> <script type="text/javascript">
>>>>>>
>>>>>> function getQueryVar(varName) {
>>>>>>
>>>>>> var queryStr = unescape(window.location.search) + '&';
>>>>>>
>>>>>> var regex = new RegExp('.*?[&\\?]' + varName + '=(.*?)&.*');
>>>>>>
>>>>>> val = queryStr.replace(regex, "$1");
>>>>>>
>>>>>> return val == queryStr ? false : val;
>>>>>> }
>>>>>>
>>>>>> }
>>>>>>
>>>>>> function SetValue() {
>>>>>> var var1 = getQueryVar('id1');
>>>>>> document.getElementsByName('NAME')[0].value = var1;
>>>>>> var var2 = getQueryVar('id8');
>>>>>> document.getElementsByName('AMOUNT')[0].value = var2;
>>>>>> var3 = getQueryVar('id2');
>>>>>> document.getElementsByName('ADDRESS')[0].value = var3;
>>>>>> var4 = getQueryVar('id3');
>>>>>> document.getElementsByName('CITY')[0].value = var4;
>>>>>> var5 = getQueryVar('id4');
>>>>>> document.getElementsByName('STATE')[0].value = var5;
>>>>>> var6 = getQueryVar('id5');
>>>>>> document.getElementsByName('COUNTRY')[0].value = var6;
>>>>>> var7 = getQueryVar('id6');
>>>>>> document.getElementsByName('ZIP')[0].value = var7;
>>>>>> var8 = getQueryVar('id9');
>>>>>> document.getElementsByName('CUSTID')[0].value = var8;
>>>>>> var9 = getQueryVar('id7');
>>>>>> document.getElementsByName('EMAIL')[0].value = var9;
>>>>>> var10 = getQueryVar('id10');
>>>>>> document.getElementsByName('PHONE')[0].value = var10;
>>>>>> document.form1.submit();
>>>>>> }
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> </script>
>>>>>> </head>
>>>>>> <BODY onload="SetValue();">
>>>>>>
>>>>>> <script type="text/javascript">
>>>>>>
>>>>>> </script>
>>>>>>
>>>>>> <form name="form1" method="post" action="https://payflowlink.paypal.com"
>>>>>> <https://payflowlink.paypal.com/> >
>>>>>> <input type="hidden" name="LOGIN" value="2530jdavis">
>>>>>> <input type="hidden" name="PARTNER" value="VeriSign">
>>>>>> <input type="hidden" name="AMOUNT">
>>>>>> <input type="hidden" name="TYPE" value="S">
>>>>>> <input type="hidden" id="NAME" name="NAME" />
>>>>>> <input type="hidden" name="ADDRESS" />
>>>>>> <input type="hidden" name="CITY" />
>>>>>> <input type="hidden" name="STATE" />
>>>>>> <input type="hidden" name="COUNTRY" />
>>>>>> <input type="hidden" name="ZIP" >
>>>>>> <input type="hidden" name="EMAIL" >
>>>>>> <input type="hidden" name="CUSTID" >
>>>>>> <input type="hidden" name="METHOD" value="CC">
>>>>>> <input type="hidden" name="COMMENT1">
>>>>>> <input type="hidden" name="INVOICE">
>>>>>> <input type="hidden" name="ORDERFORM" value="True">
>>>>>> <input type="hidden" name="SHOWCONFIRM" value="False">
>>>>>> <input type="hidden" name="ECHODATA" value="True">
>>>>>> <input type="hidden" name="PHONE">
>>>>>> <input type="hidden" name="EMAIL">
>>>>>> </body>
>>>>>> </form>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 6/14/2018 12:05 AM, Gaurav Walia wrote:
>>>>>>> Thanks susan. I have conveyed the information to the LOC in Wuhan and
>>>>>>> will await their response.
>>>>>>>
>>>>>>> Gaurav
>>>>>>>
>>>>>>> From: Susan Jeffries <jeffries at unavco.org>
>>>>>>> Date: Wednesday, June 13, 2018 at 5:25 PM
>>>>>>> To: Charles Meertens <chuckm at unavco.org>
>>>>>>> Cc: Gaurav Walia <gwalia at igs.org>, "Craddock, Allison B (335N)"
>>>>>>> <Allison.B.Craddock at jpl.nasa.gov>
>>>>>>> Subject: Re: Fwd: registration for Wuhan meeting
>>>>>>>
>>>>>>> Gaurav,
>>>>>>> Here is my mockup of your payment page. You can run this on your
>>>>>>> server.
>>>>>>> https://register.unavco.org/public/meetings/2018/wuhan/test.html
>>>>>>> Here is the code...I had to have separate forms since I didn't code your
>>>>>>> actual registration page. You also have a lot of different parameters
>>>>>>> that require different payments.
>>>>>>>
>>>>>>> Let me know when you have this coded and I will put the Paypal portion
>>>>>>> in test mode so you can test a fake credit card number for processing.
>>>>>>>
>>>>>>> Susan
>>>>>>>
>>>>>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>>>>>>> <HTML>
>>>>>>> <HEAD>
>>>>>>> <TITLE> New Document </TITLE>
>>>>>>> <META NAME="Generator" CONTENT="EditPlus">
>>>>>>> <META NAME="Author" CONTENT="">
>>>>>>> <META NAME="Keywords" CONTENT="">
>>>>>>> <META NAME="Description" CONTENT="">
>>>>>>> </HEAD>
>>>>>>>
>>>>>>> <BODY>
>>>>>>>
>>>>>>> <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr"
>>>>>>> <https://www.paypal.com/cgi-bin/webscr> method="post">
>>>>>>> <input type="hidden" name="cmd" value="_s-xclick">
>>>>>>> <input type="hidden" name="hosted_button_id" value="6ME4MXPAHLLFS">
>>>>>>> <table>
>>>>>>> <tr><td><input type="hidden" name="on0"
>>>>>>> value="Registration">Registration</td></tr><tr><td><select name="os0">
>>>>>>> <option value="Standard">Standard $436.24 USD</option>
>>>>>>> <option value="Student">Student $191.52 USD</option>
>>>>>>> <option value="Companion">Companion $127.68 USD</option>
>>>>>>> </select> </td></tr>
>>>>>>> </table>
>>>>>>> <input type="hidden" name="currency_code" value="USD">
>>>>>>> <input type="image"
>>>>>>> src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif"
>>>>>>> <https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif> border="0"
>>>>>>> name="submit" alt="PayPal - The safer, easier way to pay online!">
>>>>>>> <img alt="" border="0"
>>>>>>> src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif"
>>>>>>> <https://www.paypalobjects.com/en_US/i/scr/pixel.gif> width="1"
>>>>>>> height="1">
>>>>>>> </form>
>>>>>>>
>>>>>>> <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr"
>>>>>>> <https://www.paypal.com/cgi-bin/webscr> method="post">
>>>>>>> <input type="hidden" name="cmd" value="_s-xclick">
>>>>>>> <input type="hidden" name="hosted_button_id" value="DDNRTE5F4PPL4">
>>>>>>> <table>
>>>>>>> <tr><td><input type="hidden" name="on0" value="Banquet">Student Banquet
>>>>>>> Admission</td></tr><tr><td><select name="os0">
>>>>>>> <option value="Yes">Yes $80.00 USD</option>
>>>>>>> </select> </td></tr>
>>>>>>> </table>
>>>>>>> <input type="image"
>>>>>>> src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif"
>>>>>>> <https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif> border="0"
>>>>>>> name="submit" alt="PayPal - The safer, easier way to pay online!">
>>>>>>> <img alt="" border="0"
>>>>>>> src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif"
>>>>>>> <https://www.paypalobjects.com/en_US/i/scr/pixel.gif> width="1"
>>>>>>> height="1">
>>>>>>> </form>
>>>>>>>
>>>>>>> <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr"
>>>>>>> <https://www.paypal.com/cgi-bin/webscr> method="post">
>>>>>>> <input type="hidden" name="cmd" value="_s-xclick">
>>>>>>> <input type="hidden" name="hosted_button_id" value="8ZLVPDGJV3VXN">
>>>>>>> <table>
>>>>>>> <tr><td><input type="hidden" name="on0"
>>>>>>> value="Dinners">Dinners</td></tr><tr><td><select name="os0">
>>>>>>> <option value="1 Dinner">1 Dinner $20.00 USD</option>
>>>>>>> <option value="2 Dinners">2 Dinners $40.00 USD</option>
>>>>>>> <option value="3 Dinners">3 Dinners $60.00 USD</option>
>>>>>>> </select> </td></tr>
>>>>>>> </table>
>>>>>>> <input type="hidden" name="currency_code" value="USD">
>>>>>>> <input type="image"
>>>>>>> src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif"
>>>>>>> <https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif> border="0"
>>>>>>> name="submit" alt="PayPal - The safer, easier way to pay online!">
>>>>>>> <img alt="" border="0"
>>>>>>> src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif"
>>>>>>> <https://www.paypalobjects.com/en_US/i/scr/pixel.gif> width="1"
>>>>>>> height="1">
>>>>>>> </form>
>>>>>>>
>>>>>>>
>>>>>>> </BODY>
>>>>>>> </HTML>
>>>>>>>
>>>>>>>
>>>>>>> Also, let me know if you want any of the following customizations for
>>>>>>> the checkout.
>>>>>>> <jfmdnpgponjpogck.png>
>>>>>>
>>>>>
>>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.igs.org/pipermail/workshop/attachments/20180701/4c724190/attachment-0001.html>
More information about the Workshop
mailing list