Laravel Spark with braintree - laravel-5.3

please help me. I am new to laravel spark. How to add custom fields in payment method in spark with brain tree, like adding customer name, cardholder name, cvv etc. In that payment method only card number and expiration date fields are available to use.
See the image below:

You need to enable CVV and address verification in your Braintree settings.
If you log in to your Braintree control panel, and navigate to Settings -> Processing, you can enable these checks under 'Fraud Tools'.
Braintree Control Panel - Fraud Tools

Related

WooCommerce Subscriptions: Changing payment method of existing subscription

A client of mine wants to change payment service provider in his WooCommerce store. He has a few hundred existing subscriptions that need to be transferred to this new PSP. Basically, everything is done in order to do this, except for the configuration in WooCommerce. WooCommerce needs to know to use the new payment plugin's code to renew subscriptions. I know of the existence of this integration method but that's not the issue. That integration allows you to add the required metadata to orders (like credit card tokens) in the WooCommerce UI. That has already been done. I changed the _payment_method post meta of a test subscription to my payment method identifier and I set _requires_manual_renewal identifier to false however, for some reason in the UI it still says Manual Renewal under payment method.
What things do I have to change in the database in order to change the payment method?

Gravity Forms and Authorize.net Feed

Is there a way to add additional items to the Authorize.net feed?
For example, on the feed page, the only options are the required Authorize.net fields for payment:
Billing Information
Payment Amount
Email
Address
Address 2
City
State
Zip
Country
Phone
I would like to add some information to the transaction that is processed and sent to Authorize.net. For example, (as found in the Authorize.net API docs)
Profile
Create Profile
Order
InvoiceNumber
Description
It would also be awesome if I could also integrate with Authorize.nets new ApplePay API this way. I am comfortable adding/modifying code and would prefer if this functionality added fields or some sort of GUI in the Authorize.net settings page of the Gravity Forms backend.
The Gravity Forms documentation explains how to write your own addon using their payment addon framework. It's actually not that difficult. My first time, I used the authorize.net addon as a guide.
https://www.gravityhelp.com/documentation/article/gfpaymentaddon/
Otherwise open up the authorize.net addon and look for hooks you may can tie into to do what you want. There are a few but I've not used them. Search for do_action and apply_filters.
I should also mention that you can add to the feed using hooks but just adding to the feed will not send the data to A.net. You would still have to write the code to get the new feed data and do something with it.

How can I force Guest Checkout in Woocommerce using PayPal Express?

I'm trying to launch an online store using Wordpress, WooCommerce and the "Paypal for Woocommerce" Plugin.
On Paypal, Guest Checkout is only available on mobile, but it's not an option on desktop. I read somewhere that you need to add this lines to your SetExpressCheckout API Call but I don't know where to put them:
SOLUTIONTYPE=Sole
LANDINGPAGE=Billing
Can anyone using this plugin help me? Thank you.
it is true that if you add those parameters to the SetEC API call it will enable guest checkout and present the credit card form on the hosted page. To add these parameters, however, you have to alter the source code of the plugin. If you are using Angelleye's plugin there is a setting:
PayPal Account Optional – If your PayPal account is setup with PayPal Account Optional enabled (available in your PayPal account profile) then setting this option here will provide a better checkout flow for non-PayPal users. It will be more obvious that you do not need a PayPal account in order to complete payment, and this will typically increase conversion rates.
you can see complete documentation here.

how do I enable digital delivery in the new paypal sandbox

I'm recreating my test environment. I created new business and buyer accounts. I setup the business account as best as I remember including the IPN info.
I attempt to make a purchase using ExpressCheckOut and I get back an error message:
You are not signed up to accept payment for digitally delivered goods.
We are selling a subscription so we are in fact performing a digital delivery. Seems like I remember having to get a PayPal CS person to enable this feature on our live account. Is there something special I need to do in the sandbox?
I opened a new PayPal account to replace my developer account. It doesn't seem like a good idea to use the company live account. Is this unexpected?
The setting needs to be enabled via PayPal agents. Go ahead and send me an email via my profile details including your test account email address and I will enable this for you.

Run Ubercart (Drupal Module) in Test Gateway mode without SSL?

I'm writing a module for Ubercart that hooks the checkout completed phase of purchasing. However I'm running into an issue actually running any tests.
My original plan was to use the Test Gateway for development, then push out this module onto production with Paypal and Google Checkout as payment gateways. Once I get it going I can afford an SSL certificate.
However right now I don't have an SSL certificate, and this is preventing Test Gateway from running since it depends on the Credit Card Module, which requires SSL. Surprisingly the debug mode option doesn't change this requirement.
At the top of every page I get an ominous warning:
Checkout cannot be completed without any payment methods enabled. Please contact an administrator to resolve the issue.
And at the top of the Payment Settings page I get:
Credit card encryption must be configured to accept credit card payments.
Is there any way to force the Credit Card module to work in debug mode without SSL?
If you enable "Test Gateway", go here http://YOURSITE/admin/store/settings/payment/edit/methods (Administer › Store administration › Configuration › Payment settings)
Expand "Credit card settings", in "Card number encryption key filepath" enter path outside of your site. "
On "Accepted card types" select any credit card. And investigate more settings there.
Now try buy some product, and checkout it, select card for payment, it will automatically complete order (full payment imitation).See testing numbers for credit cards, CVV can be any number, enter higher Expiration date than current date.
Use sandboxes for testing Paypal and Google Checkout for testing these "gates".

Resources