Archive for the ‘Jquery’ Category


How to create recurring payment profile in cakephp for paypal payment pro?

How to create recurring payment profile in cakephp for paypal payment pro..

I have created the paypal component in my component..

Please help me

Thanks…

e-Shop Recurring Payment Plugin

Hii Friends/Webmasters,

I have seen few question over web “Can eShop handle Recurring Billing through PayPal?”. Yes ofcourse it can handle here is the solution in face of plugin :)

As i am big fan of bloging sites, i have read lots of things regarding eshop. I have seen developers/webmasters love the eshop plugin.

Here i again with one new solution for your shopping site that you require :) Guess… Hmmm… Yeah Its “e-Shop Recurring Payment”.

I have completed the first version of e-Shop Recurring payment.

First of all i would like to describe your what is “Recurring Payment”.

Recurring payments are an option that allows your customers to make Visa card payments to you automatically at regular intervals. They can be used in a variety of situations, from monthly subscriptions and leasing arrangements to paying electricity and telephone bills.

Recurring payments mean that customers do not have to worry about remembering to make their payment each time it is due, while you provide better service, receive your payments regularly and save valuable time.

How it works with e-Shop ?
You just need to download the “e-Shop Recurring Payment” Plugin from the site. Install it using installation wizard of wordpress.. That’s It.

Version Support.
It support latest stable version of e-Shop (3.2)

so if any one is in need for this feature let me know i will do it. You can reach me at sudhirtiwari@tricoreitsolutions.com or fill the contact us form with
subject of “Paypal Pro API Plugin for eShop” and your suggations on message part.

You can see the below screencasts that i will provide you for admin settings and user-end setting.
Admin Side User Interface:

e-Shop Recurring Payment Plugin

e-Shop Recurring Payment Plugin

Front Side User Interface:

eshop recurring payment plugin wordpress

eshop recurring payment plugin wordpress

Cross Domain Ajax Call

Method : JSONP

Description :  Are you looking for the code that will call file of other server than you are at right place just follow below instruction step by step it will work for you .

Steps :

1] Create one javascript function name it as “AjaxCallForOtherDomain”.

function AjaxCallForOtherDomain()

{

               var ajax_file_url = http://www.otherdomain.com/ajax/callme.php;

               var params = “&id=5”;

               $.getJSON(ajax_file_url+params+"&jsoncallback=?",    function(data){

               $('#placeholder').append(data.resultdata);

              });

}

** ajax_file_url is the web file url that we suppose to call.

** params is the variable that we are going to pass in php files.

** jsoncallback is the variable that will be dynamically assigned by “getJSON” function so you will get parameter “jsoncallback” parameter that will be function while you respond in PHP file.

** placeholder is the id where i will append my result from that is response from server file.

** data is JSON array.

** data.resultdata : Here result data is node of data array. E.g. : $data[‘resultdata’];

2] Create one PHP file on other domain inside ajax folder. 

Suppose you have created the file on www.otherdomain.com/publichtml/ajax/callme.php

<?php

$ jsoncallback = $_REQUEST[‘jsoncallback’];

echo  $ jsoncallback.”( {" resultdata’": "sudhirstiwari"} )”;
Exit;

?>

3] Handle the call in your javascript function inside the response.

$.getJSON(ajax_file_url+params+"&jsoncallback=?",    function(data){

// example of what is received from the server...

$(‘#placeholder’).append(data.resultdata);

});

That’s it :)
Its very easy so let me know if you have any queries regarding this .
Have a good luck…



source:stackoverflow.com
Hire Me
Follow Me!
Search
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.
Categories