Authorize.net payement transaction - php

I have connect Authorize.net using direct connection. Currently we have used Visa and American Express for payment .
For adding this two feature "payment for MasterCard and Discover" we have need to do some changes in code or not?

You don't need to do anything with Authorize.Net. You need to contact your merchant account provider and have them add MasterCard and Discover Card to your merchant account.

Related

Credit Cards with PayPal REST API

My client uses the PayPal NVP API for processing both PayPal and credit cards payments. That appears to be deprecated or PayPal is encouraging upgrading to REST. I convinced my client to do the upgrade and while implementing it I noticed the following:
Important: The use of the PayPal REST /payments APIs to accept credit
card payments is restricted. Instead, you can accept credit card
payments with Braintree Direct.
That puts a serious wrench in my work.
A little more searching around and I find this option for accepting credit card payments with the REST API:
Guest payments with a credit card that is stored in the PayPal vault
This would imply to me that the Vault must be used on conjunction with guest payments. Can anyone confirm if that is the case?
It looks like to enable guest checkout payments "PayPal Account Optional" must be turned on which I have confirmed is on in my sandbox account.
The presumption I am now going on is credit card payments with the REST API will work as long as this option is on in the merchant's account, however, I don't find this clearly stated anywhere and I don't want to continue on swapping out APIs for my client if credit card payments via REST won't work now or at some point in the future. I also find it odd I don't find any example API calls in the Payments API using a credit card. I had to figure that one out on my own with a little help from Google.
I appreciate anyone's experience using the REST Payments API to process credit card payments given it's stated that it's "restricted".

How to enable pay with credit card without login in Paypal

I have setup recurring billing with Paypal REST API, and the merchant account is set in Singapore, but i don't see an "Pay with Debit or Credit Card" option in the popup checkout page.
I have seen the answer in this thread: Paypal credit card REST api error mention that it's only available for Pro UK merchant account.
So anyone can suggest me any ideas i can deal with this problem?
The reason why the buyer receives that error is because of it a guest checkout. Guest Checkout is not a 100% that is offered to your with your current account. Guess Checkout provide the buyer to pay with credit card but it is not a 100% success due to few factors that will reject the transaction such as:
1. If the buyer uses a credit card that already attached to a PayPal account.
2. If the buyer uses an email that is already attached to a PayPal account.
3. If the buyer already attempts multiple time on the same credit card and they received a decline or incorrect information was entered. Then, the credit card will be blocked or put under risk from our end.
These are the reason of the error that your buyer is seeing. To resolve this, they would need to have/create a PayPal account or use a different credit card to make the purchase. Some other merchant they might have a Pro account which only available for US, Canada, New Zealand and Australia. You may refer to the link here.
https://developer.paypal.com/docs/classic/products/payflow-gateway/?mark=payflow%20country
They have to use a direct credit card integration.
thank you.

Paypal express checkout -reference payment

I have small confusion on the Paypal express checkout whether is it possible to do the reference payment for a buyer who paid through a credit card without a billing agreement(we disable the billing agreement because if we enable then Paypal asks to create a new account).
I know that in payment-Pro we can do reference payment without any billing agreement since it is limited for few countries we are unable to use it.
Note:our merchant account has activated to do reference payment.
Thanks
Az
You can do reference transactions on any payment within I think 90 days of the original transaction date. As long as you are a Website Payments Pro customer, this option is available to you. Just be aware that you will get a CVV2 mismatch (neither you, nor Paypal can store this due to PCI compliance) and that is normal.

Paypal Direct pay not working

I have api for Paypal DoDirect Method on NVP [Direct Credit Card Payment], and I'm using php as base language.
I'm getting success with the transaction Or the response says so. But its not updating in the sandbox account.
include_once(drupal_get_path('module','payment_details').'/paypal_do_direct.php');
$paypalDoDirect = new PaypalDoDirect();
$paypalDoDirect->setApiUserName('crazyheartram_api1.gmail.com');
$paypalDoDirect->setApiPassword('1377690526');
$paypalDoDirect->setApiSignature('Afm3wtXOE0L1wd2UrjZtljZHC-wnAWHTSwJ-b7-rw3qPcLGaMSLINqP8');
$paypalDoDirect->setCreditCardType($cardType);
$paypalDoDirect->setEnvironment('sandbox');
$paypalDoDirect->setAmount($amount);
$paypalDoDirect->setCardExpMonth($expirationDate);
$paypalDoDirect->setCardExpYear($expirationYear);
$paypalDoDirect->setCardVerificationValue($cvv);
$paypalDoDirect->setFirstName($firstName);
$paypalDoDirect->setLastName($lastName);
$paypalDoDirect->setPayerEmail($email);
$paypalDoDirect->setCreditCardNumber($creditCardNumber);
$response= $paypalDoDirect->MakePayment();
I shared my sandbox bussiness-pro account details below:
Username: crazyheartram_api1.gmail.com
Password: 1377690526
Signature: Afm3wtXOE0L1wd2UrjZtljZHC-wnAWHTSwJ-b7-rw3qPcLGaMSLINqP8
And I did the transaction using my another personal account.
Credit card number: 4351521550740304
Credit card type: Visa
Expiration date: 7/2018
My expectation is, it should deduct the amount from personal account and credit it to the merchant (business-pro) account.
Any help highly appreciated. Thanks
EDITED
I'm using same code as mentioned in below url,
Payment Api using class
I just found this question, its exactly the same question as that of mine.
https://drupal.stackexchange.com/questions/82788/seperate-payment-integeration-for-selected-plan-type-using-drupal-form-with-payp
The DoDirectPayment call charges credit cards directly; it does not deduct from a PayPal account - even if that card is attached to an existing PayPal account. Therefore it doesn't show up as a transaction in your 'buyer' PayPal account.

paypal digital goods integration how to enable pay as guest?

Hi i'm using paypal integration wizard to do digital goods checkout (PHP).
https://www.paypal-labs.com/integrationwizard/
It should support both paypal payment and non-paypal payment(buy as a guest->credit card). in the wizard, it set payment option directly to paypal : $PaymentOption = "PayPal";
is there any way to enable paypal direct checkout as a guest? or do i need to add credit card api myself?
Thanks
It depends on the receiving account.
In order to have Guest Checkout, the receiver needs to be a Premier Verified or Business Verified account.
(Verified = linked to a bank account).
If you don't meet that condition, PayPal will only give the buyer the option to log in or create an account.

Categories