LIGHT
LIGHT

Reputation: 5712

paypal integration for payment

My email is shown in header of Paypal. paypal website with my email in header

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 [email protected]

The values I have passed to Paypal website are:

$myPaypal = new Paypal();
$myPaypal->addField('business', '[email protected]');
$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?

Upvotes: 2

Views: 1624

Answers (3)

TheCrazyProfessor
TheCrazyProfessor

Reputation: 949

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

Upvotes: 0

Sumit Adak
Sumit Adak

Reputation: 350

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

Upvotes: 1

Carl Zulauf
Carl Zulauf

Reputation: 39568

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

Upvotes: 0

Related Questions