Skip to content

Instantly share code, notes, and snippets.

View hrshadhin's full-sized avatar
🏠
Working from home

H.R. Shadhin hrshadhin

🏠
Working from home
View GitHub Profile

How to make a paypal transaction with IPN integrations using php

Note: This example for sandbox only.

For this simple process we will be needed these files.

  • payal_transaction.html to create the transaction
  • ipn_paypal.php to validate the ipn request by paypal.
  • PaypalIPN.php to get the PaypalIPN.php please visit here.
@nixon1333
nixon1333 / banglaNumber.js
Created February 22, 2016 09:53
English number to Bangla number convertion
function toBangla (str)
{
//check if the `str` is not string
if(!isNaN(str)){
//if not string make it string forcefully
str = String(str);
}
//start try catch block
try {
@mfilej
mfilej / queens.pl
Created June 27, 2009 08:44
8 queens problem solver in prolog
solution([]).
solution([X/Y | Others]) :-
solution(Others),
member(Y, [1, 2, 3, 4, 5, 6, 7, 8]),
noattack(X/Y, Others).
noattack(_, []).