Saturday, 19 December 2020

Integrating Payment Gateway in Pega

     Integrating Payment Gateway in Pega


Creation of Instamojo Account

1. Open the url provided here Instamojo
2. Sign up using Google
3. Enter your mobile number to get otp and click verify.
4. Click payments on next tab
5. Provide Username
6. Click blue button to go to subsequent pages and go to
next pages and enter required business details and
pan card details.
7. Just create and add bank account details.
8. Open Pega
9. Create Case Type Online gift Store.
10. Create Stage Name Index Page.
11. Add Step Name Index Page. and  Payment Page


12. Create Data Type Gift Details List.



13. then Configure Local Data Source and Save it.


14. Create Integer Property named as AmountToPay in Data model of Casetype.
14. Create Text property named as URL in Data model.
15. Go to App explorer --> data model --> property --> Right click on Url and click Define Expression.



16. Now in Expression value use your Link that obtained in Instamojo  (url?purpose=pega&amount=+ .AmountToPay)
.
Example Image



14. Create a GiftDetails section in App Explorer in GoGoCM-Practice-Data-GiftDetailsList


15.Now Configure section by Dragging all properties into it.



16. Add a button Buy and configure event Action Model
17. Configure Event as click and Action as Data transform named totalpriceDT and Finish Assignment --> Transition --> Move Forward.


18. create totalpriceDT and configure shown in picture.





19. Now Create Index page Section in GoGoCM-Practice-Work-OnlineGiftStore and open it.



20. You have create propert giftsData in casetype and refer that property to giftDetailsList..


21. Now open indexpage section and Use Repeating dynamic layout as giiftDetailsList and drag and drop the section that created in data class to inside Repeating Layout.


 

14. Open the section paymentpage in GoGoCM-Practice-Work-OnlineGiftStore .
15. Create Image / Button as Pay Now and configure Event action model . Event is click and action is open url in new Window and configure as shown in image.



20. Click save
21. Run the case and check.

Note : I have attached the Demo video of Integrating Payment Gateway in Pega below



Written and Published by : 


                                                VIGNESH P
                                                PEGA CERTIFIED SYSTEM ARCHITECT
                                                RAJALAKSHMI ENGINEERING COLLEGE
 


Demo Video :






 Follow me on :


            
            Instagram : https://www.instagram.com/vignesh_pvk/


            website :  http://techelectro.rf.gd/

            Github :  https://github.com/vigneshpvk/



You can also contribute to us by Sending a Mail to Me 

mail id : 1999vigneshpvk@gmail.com

scheduling Google Meet from PEGA Application

       Scheduling Google Meet from PEGA                                          Application


Can we shedule a google meet from PEGA application?

Yes, of course we can do it.

Here i have been sheduled a Google Meet from PEGA application.

We have to get the details in pega application like summary, description, start date and Time ,End date and time and email id to shedule meeting.

After that we will get mail for google meet automatically .

Steps to Achieve this 

Step 1: Connect you PEGA application with External Database Connection . Here I have connected pega with postgresql database.



Step 2: Test Whether Database Connection is successfully connect or not by Clicking Test Connection.



step 3: Now Navigate to Configure --> Data Model --> classes & Properties --> Database Class Mappping.



step 4: Now Click on New External Database Connection. After that You have Enter Database Name, Schema Name, Table Name  After Entering All those Details you check whether all columns are available Correctly and then click Submit.



step 5 :  After this You have to change class categories from work to data . Then Find whether class with your database Exist or Not. Here in My case it is 
GoGoCM-UseCaseA-Data-googlemeet3



step 6 :Then Click App Explorer and Navigate to your class which was created before. Then Check all the property is there under Data model --> property 



step 7 : Then Create Casetype and then add only one step (ignore my second step in image).




step 8: Now click configure and enter google meet details and specify type as field group and then enter GoGoCM-UseCaseA-Data-googlemeet3. After that submit it.



step 9 : Now you have integrate Zapier with your Postgresql Database to make a process Automation.




Note : You have refer official Zapier Page help to Configure Postgresql and Google Meet.

step 10: That's We completed our Configuration. Now Test it. You have to run the casetype and Enter Necessary Details in order to Shedule Google Meet. After Filling Details You will Receive a mail for google Meet.

Note : I have attached the Demo video of Google Meet shedule using Pega below.





Written and Published by : 


                                                VIGNESH P
                                                PEGA CERTIFIED SYSTEM ARCHITECT
                                                RAJALAKSHMI ENGINEERING COLLEGE
 


Demo Video :





        Follow me on :


            
            Instagram : https://www.instagram.com/vignesh_pvk/


            website :  http://techelectro.rf.gd/

            Github :  https://github.com/vigneshpvk/



You can also contribute to us by Sending a Mail to Me 

mail id : 1999vigneshpvk@gmail.com

Saturday, 4 July 2020

String in-built Manipulations (part-1) using C language

String in-built Manipulations (part-1) using C language



#include <stdio.h>
#include <stdlib.h>
#include <string.h>    //you must use this Pre-processor to do this in-built Manipulations

int main(void) {

//String concatenate
char str[]="hello";
char str1[]="world";
strcat(str,str1);
printf("concatenated string --> %s",str);

//string concatenate based on size
char str2[]="hello";
char str3[]="world";
strncat(str2,str3,3);
printf("\n concatenated string based on size --> %s",str2);

//String copy
char str4[]="hello";
char str5[]="";
strcpy(str5,str4);
printf("\n Copied String is --> %s",str5);

//String copy based on size
char str6[]="hello";
char str7[20]="";
strncpy(str7,str6,4);
printf("\n Copied String based on size is --> %s",str7);

//String compare
char str8[]="vignesh";
char str9[]="vignesh";
int res=strcmp(str8,str9);
printf("\n Compared String value is --> %d",res);


}



Contact Me:      

 Instagram : https://www.instagram.com/vignesh_pvk/?hl=en        

 Mail : 1999vigneshpvk@gmail.com

Support my You tube Channel :

https://www.youtube.com/channel/UCSyYejj1sWGbjm2W94qZCbA?view_as=subscriber


Wednesday, 17 June 2020

Where are the Robots ? CTF writeUp

              WHERE ARE THE ROBOTS - CTF Write Up 



Challenge Name:

where are the robots

Challenge Category :

WEB EXPLOITATION


First visit: https://2019shell1.picoctf.com/problem/45102/robots.txt

User-agent: *
Disallow: /8e32f.html

Then visit "disallowed" file: https://2019shell1.picoctf.com/problem/45102/8e32f.html

Flag: picoCTF{ca1cu1at1ng_Mach1n3s_8e32f}



That's You solved the problem.



Video ( CTF WALKTHROUGH


    

                     Youtube video - click here



PLease Subscribe Share This Video






Logon - CTF Write Up

                   CTF WRITE UP



Logon

Points: 150

Category

Web Exploitation

Question

I made a website so now you can log on to! I don't seem to have the admin password. See if you can't get to the flag. (link)

Hint

Hmm it doesn't seem to check anyone's password, except for admins?

How does check the admin's password?

Solution

Using any password and username, you will be able to login, however, upon logon,you will be greeted by:

Success: You logged in! Not sure you'll be able to see the flag though.
No flag for you

Upon inspection of cookies, it can be seen that there exists a cookie names admin with the value false

admins		False			2018shell1.picoctf.com	/	1969-12-31T23:59:59.000Z	10
password	password		2018shell1.picoctf.com	/	1969-12-31T23:59:59.000Z	20
username	username		2018shell1.picoctf.com	/	1969-12-31T23:59:59.000Z	20

Changing the value of admin to True will result in the printing of the flag.

Flag

picoCTF{l0g1ns_ar3nt_r34l_a280e12c}




Video ( CTF WALKTHROUGH )




                    Youtube Link - click Here 👈



PLEASE SHARE AND SUBSCRIBE MY CHANNEL