简体   繁体   中英

paypal integration for payment

My email is shown in header of Paypal. 贝宝网站,标题中有我的电子邮件

Please help me solve this. I want my website name there. Are there any HTML hidden fields which controls this part of the website?

It would be better if I can manage my website logo there in header. And, website name in the section of

PayPal securely processes payments for XXXXXXXX@gmail.com

The values I have passed to Paypal website are:

$myPaypal = new Paypal();
$myPaypal->addField('business', 'xxxxxxx@gmail.com');
$myPaypal->addField('currency_code', 'USD');
$myPaypal->addField('return', SITE_PATH.'cards/index.php?show_card');
$myPaypal->addField('cancel_return', SITE_PATH.'cards/index.php?error_payment');
$myPaypal->addField('notify_url', SITE_PATH.'cards/payment_gates/paypal_ipn.php');
$myPaypal->addField('item_name', $item_name);
$myPaypal->addField('amount', $cost);
$myPaypal->addField('item_number', $order_id);
$myPaypal->addField('custom', $item_name);
$myPaypal->submitPayment();

What field should be added to get that?

$myPaypal->addField('image_url', 'www.yoursitename.com/img/logo.jpg');

Use your PayPal mail
https://www.paypal.com/businessprofile/mytools/apiaccess/firstparty/cert

if you don't have one create one here:
https://www.paypal.com/cgi-bin/webscr?cmd=_profile-api-list-auths

it's look something like this: yn_api1.example.com

I'm not familiar with the PHP bindings, but if this is the Express Checkout API you are using the API parameter you need to send is PAGESTYLE with the value set to the name of the customized page style you set up in your merchant account.

Paypal docs have more info: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECCustomizing

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM