Stripe xml rpc php

Job ID: 37109957

Budget: £750 – £1,500 GBP

I am looking for a Freelancer to update existing card payment code, to work with my new payment provider Stripe. The code has to take an order for one of a number of varieties of software, take payment, and then on success enable the download, update the mysql database and send a receipt. I don't mind whether we host the payment page or Stripe, previously we did.

The existing code was for Secpay, who have ceased. It's well structured and commented and worked well, This is some of it:

function ProcessPayment($tran_id)
{
$debug=false;
/*

Declare the method, validateCardFull, of the SECVPN object to be used via XML RPC.
Other methods like this one can be added to handle other methods of the SECVPN object.
*/

$f=new xmlrpcmsg('SECVPN.validateCardFull');
$ip = $_ENV["REMOTE_ADDR"];
$value = PostVal("ChargeAmount");
$cardtype = PostVal("cardtype");
/*
Add the test parameters in the order specified
by the SECVPN.validateCardFull() method
*/

// Set Merchant ID (opener01 pwd???)
$f->addParam(new xmlrpcval("opener01", "string")) ; // Test MerchantId ****
$f->addParam(new xmlrpcval("xxxxxx)Mg3T", "string")) ; // VPN password ****
$f->addParam(new xmlrpcval($tran_id, "string")) ; // merchants transaction id
$f->addParam(new xmlrpcval($ip, "string")) ; // The ip of the original caller
$f->addParam(new xmlrpcval(PostVal("NameOnCard"), "string")) ; // Card Holders Name
$f->addParam(new xmlrpcval(PostVal("CardNumber"), "string")) ; // Card number
$f->addParam(new xmlrpcval($value, "string")) ; // Amount
$f->addParam(new xmlrpcval(PostVal("Expiry"), "string")) ; // Expiry Date
$f->addParam(new xmlrpcval(PostVal("issueno"), "string")) ; // Issue (Switch/Solo only)
$f->addParam(new xmlrpcval("", "string")) ; // Start Date
$f->addParam(new xmlrpcval("", "string")) ; // Order Item String
$f->addParam(new xmlrpcval("", "string")) ; // Shipping Address
$f->addParam(new xmlrpcval(PostVal("Billing"), "string")) ; // Billing Address, dummy from form

The Freelancer needs to be experienced in these areas. The timeline for the project is flexible as we are open to more than a week of development time.