Git Product home page Git Product logo

paypalwebcheckoutbundle's Introduction

Paymentsuite - Paypal Web Checkout

This package is part of Paymentsuite project, a suite of payment Bundles built on top of Symfony and under MIT license.

Warning. This package is Read-Only. This means that we'll not attend any Pull Request received here. Please, use the main paymentsuite/paymentsuite package for Issues, Questions and Pull Requests.

Tags

  • Use last unstable version ( alias of dev-master ) to stay always in last commit
  • Use last stable version tag to stay in a stable release.

Support

  • Check our Documentation
  • You can ask your questions to the community in Gitter and we'll try to help you as much as possible
  • Look for some help on Stackoverflow
  • As a last resort, look at google!

paypalwebcheckoutbundle's People

Contributors

gerfigna avatar mmoreram avatar juanjomb avatar sangarbe avatar

Stargazers

Angularjs Chile avatar

Watchers

 avatar James Cloos avatar Arkaitz Garro avatar Sfblaauw avatar Angularjs Chile avatar

paypalwebcheckoutbundle's Issues

Authorship

make authorship on class header and not in file header: file header authorship is always the same on all the PaymentSuite project

Add some instruction for bundle usage

There is a lack of information of how to use this bundle. We need to create some basic usage documentation here and/or create a full documentation in Read the Docs.

[Controller] Method GET out of controller

Controllers are defined dynamically by the Router, so no annotations are read.

Take a look here. You could be able to remove this annotations, and ensure that, if you really need that controller action to respond only to GET requests, define it into the Router class.

An example here

ServiceNotFoundException

I'm trying to install the Bundle, but a ServiceNotFoundException appears in my Symfony Bundle (src\Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass line 58 ).

The service "paypal_web_checkout.manager" has a dependency on a non-existent service "payment.event.dispatcher"

Any idea? I'm using Symfony v.2.6.3

Thanks for your time.

Include shipment costs

In most of the projects, when the items are shipped to the client, we need to know the costs of this shipment.

I've seen than @mmoreram and @alch are working in a shipping component, but it seems that is not included into the order yet. Are you ok if we include a shipping cost method into PaymentBridge?

/**
 * Get shipping amount
 *
 * @return integer
 */
 public function getShippingAmount() {
     // Calculate the costs for this order
     // 0 if it is free
 }

And then create the form field if applicable:

/*
 * PaymentBridge stores shipping amount in cents
 */
$shippingAmount = $this
        ->paymentBridge
        ->getShippingAmount();

if ($shippingAmount > 0) {
    $formBuilder
        ->add('shipping_1', 'hidden', array(
            'data' => $shippingAmount,
        ))
    ;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.