I want to know how to get the Subscription ID from Payment ID.
(I know how to cancel subscription by subscription id link)
When I created the subscription payment with test-account, I forgot to save the subscription id.
Now Facebook notify me about the subscription payment, but I can't cancel it.
Please help!!
Thank you in advance!!!
I just got the answer from Facebook Team :)
First, I get the subscriptions of user by:
https://graph.facebook.com/{{user_id}}/payment.subscription?accesstoken={{apptoken}}
Then, I cancel subscription by:
https://graph.facebook.com/{{payment.subscriptions_id}}?status=canceled&accesstoken={{apptoken}}
Related
I am using the hosted form payment approach to accepting payments from users on my site. I dont see any examples of how to go about verifying the payment once the user is redirected back to my site. Here is how I'm trying to approach it:
Generate a token/form based on the cart
Post to the form url and send the user away
User returns to a verifying page
I have set up a webhook for all payment notifications
I receive the notification
?????
Verify the payment status and price are correct
Navigate the user away from the verifying screen to the next page
In step 6 all i have is the token that was generated for the transaction and the webhook doesnt provide that token back to me. How do I say "this transaction belongs to this user who is waiting to be verified"?
You can use the getTransactionDetailsRequest in their Transaction Reporting API to get the transaction details. The best place to put this information is in the refTransId field which is a value you can pass in as part of your transaction.
I'm trying to send a message from Google Doorbell to GCP pub/sub and I want to get an authenticated person name(or ID).
I can get a Person Event but this does not contain an authenticated person name. Is there a way to get the name of an authenticated person?
Thanks
I am using Stripe to handle my payments for my own rental website. (Backend - DJANGO)
Previously, I was using Stripe ChargesAPI and was manually sending out payouts to the Host of the property but I came to know that it can be automated by using Stripe PaymentIntentsAPI.
I have successfully managed to onboard my customers to receive payments in their bank accounts using Stripe Express.
After creating the payment intent and passing to the client I can charge their account as well as update my database for the booking.
The problem I am facing here is after the payment is done, I want to redirect the customer to the success page or payment failure page which I was able to do it by passing my reservation ID and updating it as payment received which I now do by using Webhooks.
How can redirect my customer to the success page showing the receipt of the booking?
You'll have to setup Payment Intent using a custom payment flow.
Briefly, how it works:
Capture your user's credit/debit card information and send a request to Stripe to authorize the card. If any additional verification checks are needed, Stripe provides you with an easy way to handle this
After authorization is complete, you capture the payment
If payment is successful, you show the user a success page, if not you show them an error message
Here's a link to the documentation: https://stripe.com/docs/payments/accept-a-payment?integration=elements
I am creating an email that is sent to customers from my website. This email is triggered when the customer clicks an "Ask for Price" button. The email is then sent to our sellers with the information about the customer and the product they are requesting.
On this email, we want to allow the seller the option to directly respond to the customer, but I would like to have this trigger a flag in my database to show that the seller replied to the customer.
There are a couple of ways you could approach this.
You could have them respond to the customer by clicking on a mailto link that fills in the to address and the bcc address that emails some key information picked up by a script on the server (e.g. customernumber_some_keys#yourscriptwatchedserver.com)
The email message going to the sellers could have a link to respond to the customer that goes to a landing page on your server with a form for their response, which in turn sends the message and adds information to the database
i am using oscommerce for my client.
i have integrate authorize.net payment module for payment using credit card.
when i am checkout and confirm payment after enter credit card detail..
page is time out and give the following error.
An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.
This transaction has been approved.
It is advisable for you to contact the merchant to verify that you will receive the product or service.
any one know why this problem occure..
If any help it would be appreciated...
This means the relay response used by OSCommerce is not returning a successful response to Authorize.Net in time (5 seconds). As a result Authorize.Net is assuming the page is not functioning and displaying that message. I'm not familiar with OSCommerce to know how to fix it but hopefully this points you in the right direction.