make payment in paypal without requiring the customer to register without account

Asked

Viewed 3,697 times

4

I am using the following API to make payment via paypal. http://www.webmaster.pt/formulario-recebimento-paypal-4281.html

What I see when I make the payment is this::

inserir a descrição da imagem aqui

That is, I do not want to force the user to create account in paypal. In the configuration file I have the following:

<?php
$paypal[business]="[email protected]";
$paypal[site_url]="http://link_site.com/";
$paypal[image_url]="";
$paypal[success_url]="php_paypal/success.php";
//$paypal[success_url]="php_paypal/ipn/ipn.php";
$paypal[cancel_url]="php_paypal/error.php";
$paypal[notify_url]="php_paypal/ipn/ipn.php";
$paypal[return_method]="1"; //1=GET 2=POST
$paypal[currency_code]="EUR"; //[USD,GBP,JPY,CAD,EUR]
$paypal[lc]="US";

$paypal[url]="https://www.paypal.com/cgi-bin/webscr";
$paypal[post_method]="fso"; //fso=fsockopen(); curl=curl command line libCurl=php compiled with libCurl support
$paypal[curl_location]="/usr/local/bin/curl";

$paypal[bn]="toolkit-php";
$paypal[cmd]="_xclick";

//Payment Page Settings
$paypal[display_comment]="0"; //0=yes 1=no
$paypal[comment_header]="Comments";
$paypal[continue_button_text]="Continue >>";
$paypal[background_color]=""; //""=white 1=black
$paypal[display_shipping_address]=""; //""=yes 1=no
$paypal[display_comment]="1"; //""=yes 1=no


//Product Settings
$paypal[item_name]="$_POST[item_name]";
$paypal[item_number]="$_POST[item_number]";
$paypal[amount]="$_POST[amount]";
$paypal[on0]="$_POST[on0]";
$paypal[os0]="$_POST[os0]";
$paypal[on1]="$_POST[on1]";
$paypal[os1]="$_POST[os1]";
$paypal[quantity]="$_POST[quantity]";
$paypal[edit_quantity]=""; //1=yes ""=no
$paypal[invoice]="$_POST[invoice]";
$paypal[tax]="$_POST[tax]";

//Shipping and Taxes
$paypal[shipping_amount]="$_POST[shipping_amount]";
$paypal[shipping_amount_per_item]="";
$paypal[handling_amount]="";
$paypal[custom_field]="";

//Customer Settings
$paypal[firstname]="$_POST[firstname]";
$paypal[lastname]="$_POST[lastname]";
$paypal[address1]="$_POST[address1]";
$paypal[address2]="$_POST[address2]";
$paypal[city]="$_POST[city]";
$paypal[state]="$_POST[state]";
$paypal[zip]="$_POST[zip]";
$paypal[email]="$_POST[email]";
$paypal[phone_1]="$_POST[phone1]";
$paypal[phone_2]="$_POST[phone2]";
$paypal[phone_3]="$_POST[phone3]";
?>

1 answer

3

According to information on paypal website this is automatic, you have the option to disable this feature in your paypal account that receives payments and not in its integration with your program, but this feature is only available if your account is Premier or Business

There is also the possibility that this feature is not available in all countries, but I have not found information about it so I cannot say this for sure, just by contacting them to be sure of this.

  • I cannot find the option in the settings. Do you know which way? In my case I do not use transparent checkout, use simple checkout.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.