Coder Social home page Coder Social logo

Paymaya supported? about laravel-paymongo HOT 13 CLOSED

luigel avatar luigel commented on July 17, 2024
Paymaya supported?

from laravel-paymongo.

Comments (13)

abenojardev avatar abenojardev commented on July 17, 2024 1

Hi @marcusaaronb, Yes paymaya is supported by paymongo

You need to create the payment method as paymaya.
you can refer to the docs here https://paymongo.rigelkentcarbonel.com/payment-methods


attributes.type string
The type of payment method. The possible values are card and paymaya for now.

from laravel-paymongo.

abenojardev avatar abenojardev commented on July 17, 2024 1

Paymongo Paymaya by the way will create a checkout url where the users will process the payment,

with this return_url is very crucial on the process because we are redirecting users to different domains

from laravel-paymongo.

luigel avatar luigel commented on July 17, 2024 1

@marcusaaronb I added support for paymaya in payment intent in this PR #44.

I also tagged it in this tag https://github.com/luigel/laravel-paymongo/releases/tag/v1.4.0

Please update your laravel-paymongo to version v1.4.0 or update your composer.json to "luigel/laravel-paymongo": "^1.4" and try it yourself. If it works on your side please close this issue. You can check the documentation for this one in https://paymongo.rigelkentcarbonel.com/payment-intents#attach-payment-intent

from laravel-paymongo.

marcusaaronb avatar marcusaaronb commented on July 17, 2024

How can i solved this issue "return_url is required for payment method paymaya"
image

from laravel-paymongo.

abenojardev avatar abenojardev commented on July 17, 2024

return_url is required by default

return_url = Where will Paymongo post payment status or redirect customer upon success, failed payment.

from laravel-paymongo.

marcusaaronb avatar marcusaaronb commented on July 17, 2024

How can i integrate with attach?

from laravel-paymongo.

luigel avatar luigel commented on July 17, 2024

@marcusaaronb You mean attaching the payment method to the payment intent? check the documentation. https://paymongo.rigelkentcarbonel.com/payment-intents#attach-payment-intent

use Luigel\Paymongo\Facades\Paymongo;

$paymentIntent = Paymongo::paymentIntent()->find('pi_hsJNpsRFU1LxgVbxW4YJHRs6');
// Attached the payment method to the payment intent
$successfulPayment = $paymentIntent->attach('pm_wr98R2gwWroVxfkcNVZBuXg2');

from laravel-paymongo.

marcusaaronb avatar marcusaaronb commented on July 17, 2024

@marcusaaronb You mean attaching the payment method to the payment intent? check the documentation. https://paymongo.rigelkentcarbonel.com/payment-intents#attach-payment-intent

use Luigel\Paymongo\Facades\Paymongo;



$paymentIntent = Paymongo::paymentIntent()->find('pi_hsJNpsRFU1LxgVbxW4YJHRs6');

// Attached the payment method to the payment intent

$successfulPayment = $paymentIntent->attach('pm_wr98R2gwWroVxfkcNVZBuXg2');

Nagawa kuna ito sir problem kpag paymaya return url is required. I dont know how to implement or ano yung main idea salamat. Working na saken yung card and debit, paymaya nalang thanks.

from laravel-paymongo.

luigel avatar luigel commented on July 17, 2024

@marcusaaronb Oh ok. I think hindi pa supported yung paymaya sa package. I also reproduced that while rewriting the test cases. Ill try to add a support in paymaya. But PR is very welcome for this one :D

from laravel-paymongo.

marcusaaronb avatar marcusaaronb commented on July 17, 2024

Ok sir thank you very much more power. Paymongo balak nadin nila e adopt lahat sa payment intent soon base sa documentation.

from laravel-paymongo.

marcusaaronb avatar marcusaaronb commented on July 17, 2024

Waiting sir sa update :)

from laravel-paymongo.

marcusaaronb avatar marcusaaronb commented on July 17, 2024

Thank you very much

from laravel-paymongo.

marcusaaronb avatar marcusaaronb commented on July 17, 2024

This update supported 6.0? I'm using laravel 5.7 packages can I know how to update it? Thank you

from laravel-paymongo.

Related Issues (20)

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.