1
Answer

Paypal integration with website

sarbjeet singh

sarbjeet singh

13y
1.4k
1
Hi guys ,

I just want to integrate paypal online payment with my website

I only have one product to sell

I want to send some information to database if payment will be sucessfull

else not

and i dont know more abt paypal

I have a paypal account


plz suggest me....
Answers (1)
0
Vikram
NA 319 262.4k 14y
Hi yashwant,
  
    Just Define variable in the Markup it consider as Global.

e.g
  
   <script type='text/javascript>
       var Navigateurl="~/block/abc.aspx";
         function pageLoad()
         {
                 //do something
         }

         function otherFunction()
        {
            var newurl = Navigateurl;
        }

</script>
This way you can declare the global variable in the markup.

Hope this will help you.

Regards,
 Vikram