Comments (13)
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.
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.
@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.
How can i solved this issue "return_url is required for payment method paymaya"
from laravel-paymongo.
return_url is required by default
return_url = Where will Paymongo post payment status or redirect customer upon success, failed payment.
from laravel-paymongo.
How can i integrate with attach?
from laravel-paymongo.
@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 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.
@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.
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.
Waiting sir sa update :)
from laravel-paymongo.
Thank you very much
from laravel-paymongo.
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)
- Add Error Handling Support for Custom Message or Attribute [IDEA] HOT 2
- [BUG] syntax error, unexpected ')' in Traits/HasCommandValidation.php:14 HOT 1
- Paymongo Error when passing a tenth or hundredth decimal in amount argument HOT 2
- Generates an error when using phpstan
- [BUG] 500 internal error
- [Documentation Issue] Amount Conversion to integer HOT 4
- [BUG] Executing Cancel Payment Intent produces a BadRequest error exception HOT 1
- [IDEA] Paymaya Feature HOT 2
- [IDEA] HOT 1
- Gcash Supported? HOT 1
- Gcash Payment help HOT 3
- Laravel Testing Mocking
- [BUG] Getting list of webhooks returns the array but the data is empty HOT 2
- [BUG]PHP 8 Support HOT 2
- [Feature] Add links api HOT 1
- tests are failing HOT 1
- [BUG] Implement 3D Secure using this library? HOT 1
- [IDEA] Checkout API HOT 2
- [BUG]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-paymongo.