简体   繁体   English

贝宝集成付款

[英]paypal integration for payment

My email is shown in header of Paypal. 我的电子邮件显示在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? 是否有任何HTML隐藏字段可控制网站的这一部分?

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 PayPal安全地处理XXXXXXXX@gmail.com的付款

The values I have passed to Paypal website are: 我传递给Paypal网站的值是:

$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 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 https://www.paypal.com/cgi-bin/webscr?cmd=_profile-api-list-auths

it's look something like this: yn_api1.example.com 看起来像这样: 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. 我不熟悉PHP绑定,但是如果这是Express Checkout API,则您要使用的API参数需要发送的是PAGESTYLE ,其值设置为您在商家帐户中设置的自定义页面样式的名称。

Paypal docs have more info: https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_ECCustomizing 贝宝文档具有更多信息: https : //cms.paypal.com/us/cgi-bin/?cmd= _render-content & content_ID=developer/ e_howto_api_EC

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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