|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| Question |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: |
This is the main variables for the buynow button...
/* Add variables to Form PARAMTERS MUST ADHERE TO PAYPAL STANDARDS */
$buyNow->addVar('business','paypal@webtechglobal.co.uk'); /* Payment Email */
$buyNow->addVar('cmd','_xclick');
$buyNow->addVar('amount','2.99');
$buyNow->addVar('item_name','Ad-Hit Points 500');
$buyNow->addVar('item_number','POINTS500');
$buyNow->addVar('quantity','1');
$buyNow->addVar('tax','1.99');
$buyNow->addVar('shipping','8.00');
$buyNow->addVar('currency_code','USD');
$buyNow->addVar('no_shipping','2'); /* Must provide shipping address */
$buyNow->addVar('rm','2'); /* Return method must be POST (2) for this class */
$buyNow->addVar('custom','500');/* Ad-Hit POINTS being bought */
/* Paypal IPN URL - MUST BE URL ENCODED and is the checkpayment.php file */
$buyNow->addVar('notify_url','http://www.ad-hit/scripts/paypal/examples/checkpayment.php');
/* Set URL for Thank you Page (if any) in variable */
$buyNow->addVar('return','http://www.ad-hit.com/index.php?page=pages_member/paypal_success');
This is the top of my IPN script, checkpayment.php I have put an mail there to test its use. It only gets this far when testing through the sandbox not when using my buynow button...
<?php
mail('admin@webtechglobal.co.uk', "TEST checkpayment Run", "checkpayment.php was accessed during this transaction");
/* Get Paypal Class */
require_once('../paypal.class.php');
/* Paypal is name of the Class */
$doCheck = new Paypal;
|
Advertisement
| Hall of Fame |