SetLar8 Posted April 11, 2007 Share Posted April 11, 2007 Hi, Im trying to integrate my accounts into the trial i downloaded. I dont want to use the ready made importers and i want to get to know the system. When a payment link is clicked using paypal what information is it that is passed to paypal so once payment is made the invoice becomes paid also? I would assume it is the invoice number but i want to make sure. Also is this the same for paypal subscription payments or does this use the subscription id only? Cheers 0 Quote Link to comment Share on other sites More sharing options...
0 Adam Posted April 11, 2007 Share Posted April 11, 2007 Hey, PayPal has an API where if your PayPal account has IPN enabled, it will tell WHMCS that an invoice has been paid for x amount of money and WHMCS will run its checks and make sure its the right amount and mark the invoice paid. Some with PayPal Subscriptions. Hope that helps, Adam 0 Quote Link to comment Share on other sites More sharing options...
0 SetLar8 Posted April 13, 2007 Author Share Posted April 13, 2007 hi adam, Thanks for your answer, i understand how the paypal process works but i was wondering what inofmration is submitted to paypal and then submitted back after payment so the whmcs system know which invoice to pay. is it simply the invoice number or something else? also with subscriptions would it be the account number of the package, the order number, the subscrption id on each account type or something else that is setup in the system? 0 Quote Link to comment Share on other sites More sharing options...
0 Adam Posted April 14, 2007 Share Posted April 14, 2007 Hey, Here is a copy of what gets sent back from PayPal to WHMCS (not sure why you need it but here is a copy of one). mc_gross => 95.00 address_status => confirmed payer_id => (REMOVED) tax => 0.00 address_street => (REMOVED) payment_date => 16:18:03 Apr 13, 2007 PDT payment_status => (REMOVED) charset => windows-1252 address_zip => (REMOVED) first_name => (REMOVED) mc_fee => 3.06 address_country_code => US address_name => (REMOVED) notify_version => 2.1 custom => (INVOICE ID) payer_status => verified business => (REMOVED) address_country => United States address_city => (REMOVED) quantity => 1 verify_sign => (REMOVED) payer_email => (REMOVED) txn_id => (REMOVED) payment_type => instant last_name => (REMOVED) address_state => (REMOVED) receiver_email => (REMOVED) payment_fee => 3.06 receiver_id => (REMOVED) txn_type => web_accept item_name => (REMOVED) mc_currency => USD item_number => residence_country => US payment_gross => 95.00 shipping => 0.00 Anyways you get the picture. As for your last question, I'm un-sure what you are asking. What you have to put in for the package is the Subscription ID and the rest is done by WHMCS. In fact as long as you have the gateway setup, your good to go. No editing or manual input. From, Adam 0 Quote Link to comment Share on other sites More sharing options...
Question
SetLar8
Hi,
Im trying to integrate my accounts into the trial i downloaded.
I dont want to use the ready made importers and i want to get to know the system.
When a payment link is clicked using paypal what information is it that is passed to paypal so once payment is made the invoice becomes paid also?
I would assume it is the invoice number but i want to make sure.
Also is this the same for paypal subscription payments or does this use the subscription id only?
Cheers
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.