i need a simple payment embed code on other website

Cerrado Publicado hace 5 años Pagado a la entrega
Cerrado Pagado a la entrega

i need someone to help me develop a Javascript code that would communicate with php (msqli), the JS embed would be inline and send a post to database and return a callback on same page. Sample js;

<script type="text/javascript">

$('#pay-paystack').on('click',function () {

// alert('popppp');

var PayStackPubKey = "pk_live_759b037bbe25d4354739f5a708af098a5fa46315";

var amt= '1600.00';

var amtNW = amt * 100;

var trx ='153642818910363';

var handler = [login to view URL]({

key: PayStackPubKey,

email: 'netpagesonline@[login to view URL]',

amount: amtNW,

ref: '153642818910363', // generates a pseudo-unique reference. Please replace with a reference you generated. Or remove the line entirely so our API will generate one for you

metadata: {

// custom_fields: [

// {

// display_name: "Mobile Number",

// variable_name: "mobile_number",

// value: "+2348012345678"

// }

// ]

},

callback: function(response){

// alert('success. transaction ref is ' + [login to view URL]);

var pay_ref = [login to view URL]; // collect flwRef returned and pass to a server page to complete status check.

[login to view URL] = '/payment-vrxy-response?transaction_id='+pay_ref;

[login to view URL]("This is the response returned after a charge",response);

},

onClose: function(){

[login to view URL] = '/payment-vrxy-response?transaction_id='+trx;

}

});

[login to view URL]();

});

</script>

AJAX HTML JavaScript jQuery / Prototype PHP

Nº del proyecto: #17730822

Sobre el proyecto

23 propuestas Proyecto remoto Activo hace 5 años

23 freelancers están ofertando un promedio de $367 por este trabajo

octopus823

How are you? I am very interested in your task. I read your proposal carefully. I am a talented and experienced Payment & PHP expert. I can complete your task perfectly. I want to know your task in detail. Pleas Más

$555 USD en 10 días
(214 comentarios)
9.2
mingxiao2008

Hello, How are you? I am very interested in your project and think I can do your job. Please check my javascript skill. If you discuss on the project with me , I can finish your job in a short time. Thanks

$400 USD en 10 días
(108 comentarios)
8.4
KashirinA

⭐⭐⭐⭐⭐⭐hello i can finish your project in short time⭐⭐⭐⭐⭐⭐ This is my profile::https://www.freelancer.com/u/bengalTIGER1106 i am new freelancer but my speed is rocket speed so i can help your project beautiful and pe Más

$500 USD en 10 días
(142 comentarios)
7.5
ykarora26

Hello Sir, I am an experienced full stack web master, working with joomla , Word press, shopify, big commerce, prestashop, volusion and for over 9 years now. I have knowledge of HTML5, CSS3, jQuery, Angularjs2, PHP Más

$251 USD en 4 días
(277 comentarios)
7.4
creativeitechpvt

hi, i ready ur requirement i m able to start right now u can give me chance for long terms work with u lets talk in chat for further process also u can review my feed back and repeat hire ratio thanks Nai Más

$300 USD en 3 días
(143 comentarios)
6.9
jsr3

Hello, I am interested in working for you. I gone through your requirements and provide you professional quality work. Thanks Raj

$555 USD en 7 días
(186 comentarios)
7.0
technoweb7

We are a team of 35 developers and 20 designers that is experts on various technologies including Mobile App Development (iPhone, Android etc.), Magento, Wordpress, Joomla, Drupal, CakePHP, Zend, Yii, PHP/MySQL, etc. Más

$555 USD en 10 días
(27 comentarios)
6.6
jonyahmed105

Hello I want to do it for you sir. Thanks

$555 USD en 2 días
(189 comentarios)
6.7
testotorko

Hi, I read carefully your project, and I wanna do it for you. Hi, I read carefully your project, and I wanna do it for you. If you wanna work together, send me a message to discuss details. I am an experienced Web De Más

$250 USD en 1 día
(108 comentarios)
5.7
reenasa

Hi, for sure i can do the work, Lets start the work, for sure i can deliver the work. Thanks Reena

$250 USD en 1 día
(8 comentarios)
5.3
chandandubey

hi i am php developer ans able to do this job i am free now adays and want some project i have 6 yesr php exp

$333 USD en 8 días
(103 comentarios)
5.4
EastIndiacom

Hello, I have checked and understood the requirement. I will do a perfect job, Kindly contact me through chat. Looking forward. Thank you.

$300 USD en 7 días
(34 comentarios)
4.9
hiteshkumar2

Hi I understand your requirements regarding Web. I am professionals BTech IT engineer. I am providing the every kind of service related to Web sites and server management. I have 5 years experience in Web developme Más

$333 USD en 1 día
(20 comentarios)
5.2
pocketteamdev

Hi, I am expert in Ajax based requests and Php/MySQL. Let's discuss the project to clarify the scope and path. Thanks

$500 USD en 10 días
(1 comentario)
1.6