我有贝宝的订阅按钮 当我单击“购买订阅”时,它将引导我进入沙箱测试页面,我输入了我的沙箱帐户,但无法使用 此表单代码
<form action="<?php echo PAYPAL_URL; ?>" method="post">
<!-- Identify your business so that you can collect the payments -->
<input name="business" value="<?php echo PAYPAL_ID; ?>">
<!-- Specify a subscriptions button. -->
<input name="cmd" value="_xclick-subscriptions">
<!-- Specify details about the subscription that buyers will purchase -->
<input name="item_name" value="<?php echo $itemName; ?>">
<input name="item_number" value="<?php echo $itemNumber; ?>">
<input name="currency_code" value="<?php echo PAYPAL_CURRENCY; ?>">
<input name="a3" id="paypalAmt" value="<?php echo $itemPrice; ?>">
<input name="p3" id="paypalValid" value="1">
<input name="t3" value="M">
<!-- Custom variable user ID -->
<input name="custom" value="<?php echo $loggedInUserID; ?>">
<!-- Specify urls -->
<input name="cancel_return" value="<?php echo PAYPAL_CANCEL_URL; ?>">
<input name="return" value="<?php echo PAYPAL_RETURN_URL; ?>">
<input name="notify_url" value="<?php echo PAYPAL_NOTIFY_URL; ?>">
<input name="no_note" value="1" />
<!-- Display the payment button -->
<input class="buy-btn" type="submit" value="Buy Subscription">
</form>
和此config.php
<?php
// Product information
$itemName = 'Membership Subscription';
$itemNumber = 'MS123456';
// Subscription price for one month
$itemPrice = 25;
// PayPal configuration
define('PAYPAL_ID', 'shereefhamed131@gmail.com');
define('PAYPAL_SANDBOX', true); //TRUE or FALSE
define('PAYPAL_RETURN_URL', 'http://thanawya-com.stackstaging.com/success.php');
define('PAYPAL_CANCEL_URL', 'http://thanawya-com.stackstaging.com/cancel.php');
define('PAYPAL_NOTIFY_URL', 'http://thanawya-com.stackstaging.com/paypal_ipn.php');
define('PAYPAL_CURRENCY', 'USD');
// Database configuration
define('DB_HOST', 'shareddb-p.hosting.stackcp.net');
define('DB_USERNAME', 'subscription_db-3131353b25');
define('DB_PASSWORD', '8drh88xbs2');
define('DB_NAME', 'subscription_db-3131353b25');
// Change not required
define('PAYPAL_URL', (PAYPAL_SANDBOX == true)?"https://www.sandbox.paypal.com/cgi-bin/webscr":"https://www.paypal.com/cgi-bin/webscr");
?>
它显示此消息 目前看来一切正常。请稍后重试。 谁能帮我