Link to home
Start Free TrialLog in
Avatar of USAtech
USAtech

asked on

Integrate PayPal to my website

I have integrated Paypal to accept payments via my website. Every thing works as planned. When the purchase is initiated the customer is taken to the Paypal account to make the payment and it generates the Transaction ID.

Is there a way i can get the Transaction ID automatically stored in my database so that i can auto approve my purchaser.

The way my service works is they have you use the transaction # generated by Paypal along with their other credentials to activate the service. If i where to do this activation manually it would take a lot of our time.

Rather i want to store all the transaction # from Paypal in a database and use that to activate the service.

Any pointers or sample code is greatly appreciated.
Avatar of Seven price
Seven price
Flag of United States of America image

since it only is available after the Do Result the code on the post page will not have access to it. You must add this in somewhere after the transaction:

set WA_PP_ECO_DoResult = WA_PP_ECO_Do_Post(WA_PP_ECO_Do_required,WA_PP_ECO_Do_itemized,WA_PP_ECO_Do_optional)
this is the asp version not sure what code you are using but hopefully
ASKER CERTIFIED SOLUTION
Avatar of Scott Madeira
Scott Madeira
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial