Jump to content

Tokens


Wolphie

Recommended Posts

I'm stuck on creating a token kind of system.

For example, say if somebody makes a payment through paypal - Then paypal re-directs them to a dynamic url which contains a token which can only be used once and is changed every payment to validate it.

 

How would i go about doing this?

 

 

Cheers, J.

Link to comment
Share on other sites

if your using paypal the best way to verify a payment completed is their IPN system.

 

Read up on their site but basically paypal allows you to carry through a single 64 bit string in a custom variable that you can return when the payment is completed.

they have a php premade ipn script to look at to help you with this

Link to comment
Share on other sites

Use the IPN system from paypal. It sends a Payment notification to a script on yer site once a payment is sent to your account.

 

Just depends how ya is using the credit/token system.

 

most ppl use a stored credit system, where their accout can be increased with credits once payment is recieved.

and credits are deducted when used on the site.

 

Link to comment
Share on other sites

U have to think about that.

 

How does yer script handle tokens/credits (if any)?

  1) Dun have it - Ya will have to edit the script to support a credits system. (Hard)

  2) It Has it - Ya will have to look how credits are added/subtracted from the users account. (Easy)

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.