Really Cool PayPal Script!

by Slippy
9 replies
I have seen a couple sites have a paypal script that literally changes how much you pay as the site's changes a little bit by some sort of integration.

i've seen it where the more people that order = price going up
and
i've seen it where the more time goes on = price goes up

i was wondering if I could get some help on how to make it so Paypal takes a value from my page, and makes it the price of my service.

for example: I help people out with data hygiene. Someone submits a excel sheet of 50,000 people and I append it in many ways. I charge per thousand records.

I would like it so if someone inputs they have 50,000 records, it would multiply it by $0.00035 ($0.35 per thousand) and take that value and put it as the paypal price when they click the button.

Any Advice/Help?

I think it would be a valuable thing for everyone here to know as well, as it definately creates a 'Call to Action' =)

Cheers,
Nick
#cool #paypal #script
  • Profile picture of the author Valdor Kiebach
    instead of having a paypal button posting the details to paypal you have the button post to the same webpage.
    using php it would go something like this:
    page shows details and price per 1000, user inputs how many there are and click 'buy button', the page posts to itself and does the calculation putting the result in the 'cost' part of the paypalcode, then connects to paypal to make the payment.

    The normal page will use a form for the amount the buyer has and a hidden variable to inform the page the form has been submitted.

    The payment part is only called if the hidden variable has been set, it works out the cost and puts this variable in the paypal value for the price.

    I would use either the 'switch / case' or 'if / else' in php to do this.
    {{ DiscussionBoard.errors[444357].message }}
  • Profile picture of the author seree
    Hi Nick,

    Good news, you can do that via Paypal SDK. (to be most secured, or you can use what Valdor mentioned above but it will have a risk)

    Bad news, you have to invest your time to do it as I never see the thing like this before. And you have to know programming as well.

    Or you might go to rentacoder, scriptlance or else... and request for proposal there.

    Cheers,
    Seree W.
    {{ DiscussionBoard.errors[444375].message }}
  • Profile picture of the author Slippy
    thanks for the info Valdor =) much appreciated.

    seree - does Paypal SDK already offer what im requesting? Or do I use that to do what I want to do? thanks

    Cheers
    Signature
    Heard of Launch Tree?
    Well I bought it, and decided to camtasia myself buying it and include my thoughts of the product as well as show what it all comes with.If you are on the fence about Launch Tree... check out my video, I'm not biased and its a good insight on whats inside. A good sneak peak and can help with a decision.-http://www.launch-tree-review.com
    {{ DiscussionBoard.errors[444592].message }}
  • Profile picture of the author JohnK
    That's actually called a Dimesale and there are a few dimesale scripts out there, I know Robert Plank is selling a couple of them.
    {{ DiscussionBoard.errors[444599].message }}
    • Profile picture of the author Troy McDonald
      RAP (Rapid Action Profits) will also do "Dime Sales", but may be more than you need.
      Signature
      {{ DiscussionBoard.errors[444853].message }}
    • Profile picture of the author Andy Hakeem
      Originally Posted by JohnK View Post

      That's actually called a Dimesale and there are a few dimesale scripts out there, I know Robert Plank is selling a couple of them.
      Yeah you can found this kind of script from the PHP Expert, Robert Plank

      salespagetactics.com/volume3

      Sorry can't post the link yet, my post count not reach 15 yet. Just copy and paste to your browser

      Hope that helps,
      -Andy
      {{ DiscussionBoard.errors[444881].message }}
  • Profile picture of the author Tim Franklin
    an interesting proposal,

    If I understand correctly you want to generate a call via PHP and AJAX

    this would generate a post to the paypal payment system.

    based on a cost per 1000 or what ever you decide the cost should be.

    I would use a PHP array to pass the variable then calculate the result for submission to the paypal call.

    You could also use AJAX to change the charge per 1000

    for instance if you wanted to show a rate discount after 50,000 you could change that rate using an array within an AJAX result.

    There are probably 30 different ways to do this, but just thought I would expand on one of them.

    have a good day.

    PS this is at most a two or three page script, RAP is nice enough if you want a howitzer but you could have this done for 25 or 30 at scriptlance.com
    Signature
    Bitcoin | Crypto | Blockchain Secrets |
    {{ DiscussionBoard.errors[445073].message }}
  • Profile picture of the author TheRichJerksNet
    It's a php script that does that but using else/if statements is not the way to do it .. You would use the database and without posting an entire lesson here it would be a little hard to explain.

    Basically though it uses php and a mysql database.

    If you need a custom script and have a budget then let me know..

    James
    {{ DiscussionBoard.errors[445084].message }}
  • Profile picture of the author BizBooks
    Robert Plank could do this. he might find it worthwhile to add it as an update to his current dimesale script....
    {{ DiscussionBoard.errors[445090].message }}

Trending Topics